mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
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:
parent
9d36acde08
commit
e2bd38c540
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,4 @@
|
||||
// clang-format on
|
||||
|
||||
void set_led(uint32_t led_value);
|
||||
void forever_redflash();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user