icE1usb fw: Remove useless variable in main loop
Left over from early testing code ...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: I242bbcd42ba96f56bf12bbe57537f3a72a44767b
diff --git a/firmware/ice40-riscv/icE1usb/fw_app.c b/firmware/ice40-riscv/icE1usb/fw_app.c
index eebc21f..39173f2 100644
--- a/firmware/ice40-riscv/icE1usb/fw_app.c
+++ b/firmware/ice40-riscv/icE1usb/fw_app.c
@@ -64,7 +64,6 @@
void main()
{
- bool e1_active = false;
int cmd = 0;
/* Init console IO */
@@ -103,7 +102,6 @@
/* Start */
e1_init(0, 0);
- e1_active = true;
led_state(true);
usb_connect();
@@ -153,9 +151,7 @@
usb_poll();
/* E1 poll */
- if (e1_active) {
- e1_poll();
- usb_e1_run();
- }
+ e1_poll();
+ usb_e1_run();
}
}