diff options
Diffstat (limited to 'tools/simulator.c')
-rw-r--r-- | tools/simulator.c | 6 |
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 | ||
60 | void hal_read_flash(u32 offset, u8 *data, u32 length) | 60 | void 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 | ||
65 | void hal_write_flash(u32 offset,const u8 *data, u32 length) | 65 | void 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 | } |