1
0
mirror of https://github.com/kalymos/PsNee.git synced 2026-05-02 22:23:50 +00:00

updat BIOSpatch

This commit is contained in:
kalymos
2025-03-06 15:00:48 +01:00
parent 18352737ae
commit 37cafe4e40

View File

@@ -297,7 +297,10 @@ void Init() {
PIN_SQCK_INPUT; PIN_SQCK_INPUT;
PIN_SUBQ_INPUT; PIN_SUBQ_INPUT;
} }
void BIOS_Patching_Fonc(){
}
int main() { int main() {
uint8_t hysteresis = 0; uint8_t hysteresis = 0;
uint8_t scbuf[12] = { 0 }; // SUBQ bit storage uint8_t scbuf[12] = { 0 }; // SUBQ bit storage
@@ -309,11 +312,13 @@ int main() {
Init(); Init();
#if defined(BIOS_PATCH) && !defined(PATCH_SWICHE)
#ifdef LED_RUN #ifdef LED_RUN
PIN_LED_ON; PIN_LED_ON;
#endif #endif
#if defined(BIOS_PATCH) && !defined(PATCH_SWICHE)
Bios_Patching(); Bios_Patching();
#elif defined(BIOS_PATCH) && defined(PATCH_SWICHE) #elif defined(BIOS_PATCH) && defined(PATCH_SWICHE)
if (PIN_SWICHE_READ != 0) { if (PIN_SWICHE_READ != 0) {
@@ -332,11 +337,12 @@ int main() {
; ;
while (PIN_WFCK_READ == 0) while (PIN_WFCK_READ == 0)
; ;
#endif
#ifdef LED_RUN #ifdef LED_RUN
PIN_LED_OFF; PIN_LED_OFF;
#endif #endif
#endif
Timer_Start(); Timer_Start();
//************************************************************************ //************************************************************************