Skip to content

Commit

Permalink
Use ERR LED to indicate FPGA config failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed May 2, 2018
1 parent 2446400 commit d5cbdfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/main.c
Expand Up @@ -221,8 +221,10 @@ void handle_pending_usb_setup() {
} else {
if(fpga_start()) {
led_fpga_set(true);
led_err_set(false);
ACK_EP0();
} else {
led_err_set(true);
STALL_EP0();
}
}
Expand Down

0 comments on commit d5cbdfb

Please sign in to comment.