1 2 3 4 5 6 7 8 9 10 11 12 13
the reboot func is used elsewhere, so don't mark it inline --- a/lib.c +++ b/lib.c @@ -33,7 +33,7 @@ struct ascii_map_str { int keycode; }; -inline void reboot(void) +void reboot(void) { /* tell the BIOS to do a cold start */