mirror of
https://github.com/kalymos/PsNee.git
synced 2026-05-02 22:23:50 +00:00
updat BIOSpatch
This commit is contained in:
@@ -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();
|
||||||
//************************************************************************
|
//************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user