diff options
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r-- | apps/plugins/test_disk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index 91fc3bb405..e302a621cb 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c | |||
@@ -207,7 +207,7 @@ static bool test_speed(void) | |||
207 | goto error; | 207 | goto error; |
208 | } | 208 | } |
209 | time = *rb->current_tick - time; | 209 | time = *rb->current_tick - time; |
210 | rb->snprintf(text_buf, sizeof text_buf, "Create: %d KByte/s", | 210 | rb->snprintf(text_buf, sizeof text_buf, "Create: %ld KByte/s", |
211 | (25 * buf_len / time) >> 8); | 211 | (25 * buf_len / time) >> 8); |
212 | log_lcd(text_buf, true); | 212 | log_lcd(text_buf, true); |
213 | rb->close(fd); | 213 | rb->close(fd); |
@@ -226,7 +226,7 @@ static bool test_speed(void) | |||
226 | goto error; | 226 | goto error; |
227 | } | 227 | } |
228 | time = *rb->current_tick - time; | 228 | time = *rb->current_tick - time; |
229 | rb->snprintf(text_buf, sizeof text_buf, "Write A: %d KByte/s", | 229 | rb->snprintf(text_buf, sizeof text_buf, "Write A: %ld KByte/s", |
230 | (25 * buf_len / time) >> 8); | 230 | (25 * buf_len / time) >> 8); |
231 | log_lcd(text_buf, true); | 231 | log_lcd(text_buf, true); |
232 | rb->close(fd); | 232 | rb->close(fd); |
@@ -245,7 +245,7 @@ static bool test_speed(void) | |||
245 | goto error; | 245 | goto error; |
246 | } | 246 | } |
247 | time = *rb->current_tick - time; | 247 | time = *rb->current_tick - time; |
248 | rb->snprintf(text_buf, sizeof text_buf, "Write U: %d KByte/s", | 248 | rb->snprintf(text_buf, sizeof text_buf, "Write U: %ld KByte/s", |
249 | (25 * buf_len / time) >> 8); | 249 | (25 * buf_len / time) >> 8); |
250 | log_lcd(text_buf, true); | 250 | log_lcd(text_buf, true); |
251 | rb->close(fd); | 251 | rb->close(fd); |
@@ -264,7 +264,7 @@ static bool test_speed(void) | |||
264 | goto error; | 264 | goto error; |
265 | } | 265 | } |
266 | time = *rb->current_tick - time; | 266 | time = *rb->current_tick - time; |
267 | rb->snprintf(text_buf, sizeof text_buf, "Read A: %d KByte/s", | 267 | rb->snprintf(text_buf, sizeof text_buf, "Read A: %ld KByte/s", |
268 | (25 * buf_len / time) >> 8); | 268 | (25 * buf_len / time) >> 8); |
269 | log_lcd(text_buf, true); | 269 | log_lcd(text_buf, true); |
270 | rb->close(fd); | 270 | rb->close(fd); |
@@ -283,7 +283,7 @@ static bool test_speed(void) | |||
283 | goto error; | 283 | goto error; |
284 | } | 284 | } |
285 | time = *rb->current_tick - time; | 285 | time = *rb->current_tick - time; |
286 | rb->snprintf(text_buf, sizeof text_buf, "Read U: %d KByte/s", | 286 | rb->snprintf(text_buf, sizeof text_buf, "Read U: %ld KByte/s", |
287 | (25 * buf_len / time) >> 8); | 287 | (25 * buf_len / time) >> 8); |
288 | log_lcd(text_buf, true); | 288 | log_lcd(text_buf, true); |
289 | rb->close(fd); | 289 | rb->close(fd); |