X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fmain.c;h=9500c0d26720bcb4d43f409e790048669788ae01;hb=0eb34487ee8e70ecb8e4ee2ed5092b2788eb7f26;hp=3efa6a8fe5383939e3000c7c036b4739d66a1a59;hpb=9c398c9da04f501ebf207e8608f1a0e47801454a;p=carl9170fw.git diff --git a/carlfw/src/main.c b/carlfw/src/main.c index 3efa6a8..9500c0d 100644 --- a/carlfw/src/main.c +++ b/carlfw/src/main.c @@ -85,7 +85,7 @@ static void handle_fw(void) reboot(); } -static void __attribute__((noreturn)) main_loop(void) +static void __noreturn main_loop(void) { /* main loop */ while (1) { @@ -117,7 +117,7 @@ static void __attribute__((noreturn)) main_loop(void) * we put _start() there with the linker script carl9170.lds. */ -void __attribute__((noreturn)) start(void) +void start(void) { clock_set(true, AHB_40MHZ_OSC);