From b4964bf4dad0e963957ec9974b9576335c191936 Mon Sep 17 00:00:00 2001
From: Kerogit <kr.git@kerogit.eu>
Date: Mon, 26 May 2025 10:56:31 +0200
Subject: [PATCH 1/4] 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>
---
 boards/avr/avrdx/breadxavr/include/board.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/boards/avr/avrdx/breadxavr/include/board.h b/boards/avr/avrdx/breadxavr/include/board.h
index 5bac0222fc5..b8fffa16c0d 100644
--- a/boards/avr/avrdx/breadxavr/include/board.h
+++ b/boards/avr/avrdx/breadxavr/include/board.h
@@ -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
  *
-- 
2.39.5

