Skip to content

Conversation

@Naim2000
Copy link
Contributor

STM_StartLEDFlashLoop appears. cannot nearly test cause my Wii has no faceplate (☠️ ☠️ ☠️)
PR will get a better name soon enough

@DacoTaco
Copy link
Member

@Naim2000 : i would recommend undoing the tab/space fixes you did of the existing defines since we are working on a clang-format that would fix it all :)

@DacoTaco
Copy link
Member

DacoTaco commented Aug 8, 2025

lgtm. only draft because its untested @Naim2000 ?

@Naim2000
Copy link
Contributor Author

Naim2000 commented Aug 9, 2025

lgtm. only draft because its untested @Naim2000 ?

I wanted to add VIDimming next

@Naim2000 Naim2000 marked this pull request as ready for review August 9, 2025 03:20
@Naim2000 Naim2000 changed the title Update stm.c Add more STM functions Aug 9, 2025
@DacoTaco
Copy link
Member

@Naim2000 : sorry to be a bit of a prick, mind putting the STM eventcode rework into a different PR? this is a bit much to manage in 1 PR and splitting it up might be easier to review

@Naim2000 Naim2000 marked this pull request as ready for review September 12, 2025 18:46
@Naim2000
Copy link
Contributor Author

Just started to wonder if STM_ShutdownToIdleEx should be implemented as a persistent change like LEDMode is
(specifically, to allow the fan to stay on when using SYS_ResetSystem)

Copy link
Member

@DacoTaco DacoTaco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before testing with priiloader i have this minor remark that has no functional change.
will test it later

u16 patterns[STM_MAX_LED_PATTERNS];
};

// capitalization of LED is debatable. libogc currently has STM_SetLedMode, meanwhile this function is internally called ISTM_StartLEDFlashLoop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure the comments here and above STM_VIDimming are needed.
this one can be removed i think, but STM_VIDimming isn't saying anything to me.
i dont know what __stm_vdinuse is, or what that comment about 0ms is about, so maybe also remove it?
the function just fades the screen to black right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants