summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Hodder <dave.hodder@focusrite.com>2018-11-09 15:14:18 +0000
committerDave Hodder <dave.hodder@focusrite.com>2018-11-09 15:14:18 +0000
commit07d14bb05a03c21ca2453ead1b8f995944eca04d (patch)
tree1a7047031638c47cd534231d956c98fe5ffda72a
parentdad65c96eeb8e8cd8e4e1df896163448f4f859c6 (diff)
downloadlaunchpad-polymaker-07d14bb05a03c21ca2453ead1b8f995944eca04d.tar.gz
launchpad-polymaker-07d14bb05a03c21ca2453ead1b8f995944eca04d.zip
fixed format specifier warning
-rw-r--r--tools/simulator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/simulator.c b/tools/simulator.c
index 138277e..ab4eee1 100644
--- a/tools/simulator.c
+++ b/tools/simulator.c
@@ -59,12 +59,12 @@ void hal_send_sysex(u8 port, const u8* data, u16 length)
59 59
60void hal_read_flash(u32 offset, u8 *data, u32 length) 60void hal_read_flash(u32 offset, u8 *data, u32 length)
61{ 61{
62 printf("...hal_read_flash(%d, (data), %d);\n", offset, length); 62 printf("...hal_read_flash(%lu, (data), %lu);\n", offset, length);
63} 63}
64 64
65void hal_write_flash(u32 offset,const u8 *data, u32 length) 65void hal_write_flash(u32 offset,const u8 *data, u32 length)
66{ 66{
67 printf("...hal_write_flash(%d, (data), %d);\n", offset, length); 67 printf("...hal_write_flash(%lu, (data), %lu);\n", offset, length);
68} 68}
69 69
70// ____________________________________________________________________________ 70// ____________________________________________________________________________
@@ -123,4 +123,4 @@ int main(int argc, char * argv[])
123 sim_app_timer_event(); 123 sim_app_timer_event();
124 } 124 }
125 return 0; 125 return 0;
126} \ No newline at end of file 126}