summaryrefslogtreecommitdiff
path: root/common/lb_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lb_common.c')
-rw-r--r--common/lb_common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/lb_common.c b/common/lb_common.c
index 56733ad466..9a8c4a666e 100644
--- a/common/lb_common.c
+++ b/common/lb_common.c
@@ -143,7 +143,7 @@ static inline uint8_t controller_read(int ctrl_num, uint8_t reg)
#define MAX_GREEN 0x30
#define MAX_BLUE 0x67
#endif
-#if defined(BOARD_SAMUS) || defined(BOARD_RYU)
+#if defined(BOARD_SAMUS)
/* Samus uses completely different LEDs, so the numbers are different. The
* Samus LEDs can handle much higher currents, but these constants were
* calibrated to provide uniform intensity at the level used by Link.
@@ -152,6 +152,11 @@ static inline uint8_t controller_read(int ctrl_num, uint8_t reg)
#define MAX_GREEN 0x2c
#define MAX_BLUE 0x40
#endif
+#if defined(BOARD_RYU)
+#define MAX_RED 0xb4
+#define MAX_GREEN 0xac
+#define MAX_BLUE 0xc0
+#endif
#ifdef BOARD_HOST
/* For testing only */
#define MAX_RED 0xff