diff --git a/include/arm9/PA_General.h b/include/arm9/PA_General.h index a4df150..549339f 100644 --- a/include/arm9/PA_General.h +++ b/include/arm9/PA_General.h @@ -364,7 +364,7 @@ static inline void PA_SetScreenLight(u8 screen, u8 light){ \~french Vitesse : 0 pour lent, 1 pour rapide */ static inline void PA_SetLedBlink(u8 blink, u8 speed){ - ledBlink(((blink&1) | ((speed&1) << 1)) << 4); + ledBlink((PM_LedStates)((blink & 1) | ((speed & 1) << 1))); } /*! \def PA_WaitFor(something) diff --git a/source/arm7/PA.c b/source/arm7/PA.c index 78735c2..2554ede 100644 --- a/source/arm7/PA.c +++ b/source/arm7/PA.c @@ -32,7 +32,7 @@ void PA_Init(void){ PA_InitFifo(); // Stop LED blinking - ledBlink(0); + ledBlink(LED_ALWAYS_ON); // Wait until the IPC buffer has been sent from the ARM9 while (PA_Transfer == NULL);