fw: Remove unusued forever_redflash()

Since we now use assert() and feed the CPU an unimplemented
instruction we have no need for this.
This commit is contained in:
Michael Cardell Widerkrantz 2024-03-18 16:19:59 +01:00
parent 9d36acde08
commit e2bd38c540
No known key found for this signature in database
GPG Key ID: D3DB3DDF57E704E5
2 changed files with 0 additions and 13 deletions

View File

@ -13,15 +13,3 @@ void set_led(uint32_t led_value)
{
*led = led_value;
}
void forever_redflash()
{
int led_on = 0;
for (;;) {
*led = led_on ? LED_RED : LED_BLACK;
for (volatile int i = 0; i < 800000; i++) {
}
led_on = !led_on;
}
}

View File

@ -18,5 +18,4 @@
// clang-format on
void set_led(uint32_t led_value);
void forever_redflash();
#endif