From: Alan Cox Date: Fri, 10 Aug 2018 23:52:03 +0000 (+0100) Subject: trs80m1: move platform_param into discard X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e667a19eb6d569d2d1ed237f8796bf5e64a1c916;p=FUZIX.git trs80m1: move platform_param into discard We don't need it after boot and we are going to add some options here soon --- diff --git a/Kernel/platform-trs80m1/discard.c b/Kernel/platform-trs80m1/discard.c index c6e1f376..6f54b650 100644 --- a/Kernel/platform-trs80m1/discard.c +++ b/Kernel/platform-trs80m1/discard.c @@ -64,3 +64,10 @@ void pagemap_init(void) else pagemap_init_supermem(); } + +uint8_t platform_param(char *p) +{ + used(p); + return 0; +} + diff --git a/Kernel/platform-trs80m1/main.c b/Kernel/platform-trs80m1/main.c index d86f60b2..38a35a09 100644 --- a/Kernel/platform-trs80m1/main.c +++ b/Kernel/platform-trs80m1/main.c @@ -36,12 +36,6 @@ void do_beep(void) { } -uint8_t platform_param(char *p) -{ - used(p); - return 0; -} - /* Work around SDCC bugs */ uint8_t sdcc_bug_2753(uint8_t v) __z88dk_fastcall {