A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

firmware: minor screendump related cleanups

- Remove unused redefinitions of screen_dump() from bootloaders
- Use empty do-while when screendump is compiled out

Change-Id: I3ccdb0390ddaa28d8f561ff744d0db6aaef17f5d

+2 -22
-6
bootloader/iaudio_coldfire.c
··· 212 212 213 213 start_firmware(); 214 214 } 215 - 216 - /* These functions are present in the firmware library, but we reimplement 217 - them here because the originals do a lot more than we want */ 218 - void screen_dump(void) 219 - { 220 - }
-4
bootloader/iriver_h1x0.c
··· 588 588 589 589 /* These functions are present in the firmware library, but we reimplement 590 590 them here because the originals do a lot more than we want */ 591 - void screen_dump(void) 592 - { 593 - } 594 - 595 591 int usb_screen(void) 596 592 { 597 593 return 0;
-4
bootloader/iriver_h300.c
··· 648 648 649 649 /* These functions are present in the firmware library, but we reimplement 650 650 them here because the originals do a lot more than we want */ 651 - void screen_dump(void) 652 - { 653 - } 654 - 655 651 int usb_screen(void) 656 652 { 657 653 return 0;
-6
bootloader/mpio_hd200_hd300.c
··· 539 539 } 540 540 541 541 } 542 - 543 - /* These functions are present in the firmware library, but we reimplement 544 - them here because the originals do a lot more than we want */ 545 - void screen_dump(void) 546 - { 547 - }
+2 -2
firmware/export/screendump.h
··· 54 54 55 55 #ifdef BOOTLOADER 56 56 57 - #define screen_dump() 58 - #define remote_screen_dump() 57 + #define screen_dump() do { } while(0) 58 + #define remote_screen_dump() do { } while(0) 59 59 60 60 #else /* !BOOTLOADER */ 61 61