mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
boards/avr/avrdx/breadxavr: fix board LED constants
During initial development of AVR DA/DB support, the board LED code and constants it uses were based on different AVR boards. The resulting code therefore did not work for most indicated states. This patch fixes LED status codes to match what the board LED code expects. Tested by manually triggering reset_board function which caused the board LED to blink (whereas it was not blinking before the fix.) Signed-off-by: Kerogit <kr.git@kerogit.eu>
This commit is contained in:
parent
895154881c
commit
2c43595dfd
1 changed files with 7 additions and 7 deletions
|
|
@ -49,13 +49,13 @@
|
|||
*/
|
||||
|
||||
#define LED_STARTED 0
|
||||
#define LED_HEAPALLOCATE 1
|
||||
#define LED_IRQSENABLED 2
|
||||
#define LED_STACKCREATED 3
|
||||
#define LED_INIRQ 4
|
||||
#define LED_SIGNAL 5
|
||||
#define LED_ASSERTION 6
|
||||
#define LED_PANIC 7
|
||||
#define LED_HEAPALLOCATE 0
|
||||
#define LED_IRQSENABLED 0
|
||||
#define LED_STACKCREATED 1
|
||||
#define LED_INIRQ 2
|
||||
#define LED_SIGNAL 2
|
||||
#define LED_ASSERTION 2
|
||||
#define LED_PANIC 0
|
||||
|
||||
/* Button definitions
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue