diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index b2144e2169..72379f4104 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -2136,7 +2136,7 @@ static bool dbg_save_roms(void) | |||
2136 | restore_irq(old_irq_level); | 2136 | restore_irq(old_irq_level); |
2137 | 2137 | ||
2138 | if (err) | 2138 | if (err) |
2139 | gui_syncsplash(HZ*3, "Eeprom read failure (%d)",err); | 2139 | splashf(HZ*3, "Eeprom read failure (%d)", err); |
2140 | else | 2140 | else |
2141 | { | 2141 | { |
2142 | write(fd, buf, sizeof buf); | 2142 | write(fd, buf, sizeof buf); |
@@ -2233,7 +2233,7 @@ extern bool do_screendump_instead_of_usb; | |||
2233 | static bool dbg_screendump(void) | 2233 | static bool dbg_screendump(void) |
2234 | { | 2234 | { |
2235 | do_screendump_instead_of_usb = !do_screendump_instead_of_usb; | 2235 | do_screendump_instead_of_usb = !do_screendump_instead_of_usb; |
2236 | gui_syncsplash(HZ, "Screendump %s", | 2236 | splashf(HZ, "Screendump %s", |
2237 | do_screendump_instead_of_usb?"enabled":"disabled"); | 2237 | do_screendump_instead_of_usb?"enabled":"disabled"); |
2238 | return false; | 2238 | return false; |
2239 | } | 2239 | } |
@@ -2277,21 +2277,21 @@ static bool dbg_write_eeprom(void) | |||
2277 | 2277 | ||
2278 | err = eeprom_24cxx_write(0, buf, sizeof buf); | 2278 | err = eeprom_24cxx_write(0, buf, sizeof buf); |
2279 | if (err) | 2279 | if (err) |
2280 | gui_syncsplash(HZ*3, "Eeprom write failure (%d)",err); | 2280 | splashf(HZ*3, "Eeprom write failure (%d)", err); |
2281 | else | 2281 | else |
2282 | gui_syncsplash(HZ*3, "Eeprom written successfully"); | 2282 | splash(HZ*3, "Eeprom written successfully"); |
2283 | 2283 | ||
2284 | restore_irq(old_irq_level); | 2284 | restore_irq(old_irq_level); |
2285 | } | 2285 | } |
2286 | else | 2286 | else |
2287 | { | 2287 | { |
2288 | gui_syncsplash(HZ*3, "File read error (%d)",rc); | 2288 | splashf(HZ*3, "File read error (%d)",rc); |
2289 | } | 2289 | } |
2290 | close(fd); | 2290 | close(fd); |
2291 | } | 2291 | } |
2292 | else | 2292 | else |
2293 | { | 2293 | { |
2294 | gui_syncsplash(HZ*3, "Failed to open 'internal_eeprom.bin'"); | 2294 | splash(HZ*3, "Failed to open 'internal_eeprom.bin'"); |
2295 | } | 2295 | } |
2296 | 2296 | ||
2297 | return false; | 2297 | return false; |
@@ -2396,7 +2396,7 @@ static bool logf_usb_serial(void) | |||
2396 | { | 2396 | { |
2397 | bool serial_enabled = !usb_core_driver_enabled(USB_DRIVER_SERIAL); | 2397 | bool serial_enabled = !usb_core_driver_enabled(USB_DRIVER_SERIAL); |
2398 | usb_core_enable_driver(USB_DRIVER_SERIAL,serial_enabled); | 2398 | usb_core_enable_driver(USB_DRIVER_SERIAL,serial_enabled); |
2399 | gui_syncsplash(HZ, "USB logf %s", | 2399 | splashf(HZ, "USB logf %s", |
2400 | serial_enabled?"enabled":"disabled"); | 2400 | serial_enabled?"enabled":"disabled"); |
2401 | return false; | 2401 | return false; |
2402 | } | 2402 | } |
@@ -2405,7 +2405,7 @@ static bool logf_usb_serial(void) | |||
2405 | #if defined(HAVE_USBSTACK) && defined(USB_STORAGE) | 2405 | #if defined(HAVE_USBSTACK) && defined(USB_STORAGE) |
2406 | static bool usb_reconnect(void) | 2406 | static bool usb_reconnect(void) |
2407 | { | 2407 | { |
2408 | gui_syncsplash(HZ, "Reconnect mass storage"); | 2408 | splash(HZ, "Reconnect mass storage"); |
2409 | usb_storage_reconnect(); | 2409 | usb_storage_reconnect(); |
2410 | return false; | 2410 | return false; |
2411 | } | 2411 | } |