led: Fix calls to ledBlink()

This commit is contained in:
Antonio Niño Díaz 2025-02-28 01:34:40 +00:00
parent 97ac165126
commit ea94f949bc
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);