we need to wake some boards up!

This commit is contained in:
rusefi 2024-06-02 19:15:38 -04:00
parent 9126ae229d
commit dad17e525d
2 changed files with 2 additions and 8 deletions

View File

@ -190,12 +190,9 @@ int main(void) {
chThdCreateStatic(consoleThread, sizeof(consoleThread), NORMALPRIO, ConsoleThread, nullptr);
/*
* Normal main() thread activity, in this demo it does nothing except
* sleeping in a loop and check the button state.
*/
while (true) {
chThdSleepMilliseconds(500);
// we need to wake some boards up!
setOutputCountRequest();
}
}

View File

@ -42,9 +42,6 @@ void initStimDigitalInputs() {
palSetPadMode(muxOff.port, muxOff.pin, PAL_MODE_OUTPUT_PUSHPULL);
palWritePad(muxOff.port, muxOff.pin, 0 ^ XOR_MAGIC);
// send the request early
setOutputCountRequest();
}
extern bool globalEverythingHappy;