diff --git a/hw/application_fpga/fw/tk1/led.c b/hw/application_fpga/fw/tk1/led.c index 5f2c5fb..023bafa 100644 --- a/hw/application_fpga/fw/tk1/led.c +++ b/hw/application_fpga/fw/tk1/led.c @@ -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; - } -} diff --git a/hw/application_fpga/fw/tk1/led.h b/hw/application_fpga/fw/tk1/led.h index 358690d..d2c162e 100644 --- a/hw/application_fpga/fw/tk1/led.h +++ b/hw/application_fpga/fw/tk1/led.h @@ -18,5 +18,4 @@ // clang-format on void set_led(uint32_t led_value); -void forever_redflash(); #endif