auto-sync
This commit is contained in:
parent
a6ccceb92b
commit
743e665d5c
|
@ -446,7 +446,7 @@ void runBinaryProtocolLoop(ts_channel_s *tsChannel, bool_t isConsoleRedirect) {
|
|||
|
||||
recieved = chnReadTimeout(tsChannel->channel, &secondByte, 1, TS_READ_TIMEOUT);
|
||||
if (recieved != 1) {
|
||||
tunerStudioError("ERROR: no second");
|
||||
tunerStudioError("TS: ERROR: no second byte");
|
||||
continue;
|
||||
}
|
||||
// scheduleMsg(logger, "Got secondByte=%x=[%c]", secondByte, secondByte);
|
||||
|
|
|
@ -66,12 +66,12 @@ static char pinNameBuffer[16];
|
|||
static float currentAngleWindowWidth;
|
||||
|
||||
/**
|
||||
* Int/Hold pin is controlled from scheduler callbacks which are set according to current RPM
|
||||
* Int/Hold pin is controlled from scheduler call-backs which are set according to current RPM
|
||||
*
|
||||
* The following state makes sure that we only have SPI communication while not integrating and that we take
|
||||
* a good ADC reading after integrating.
|
||||
*
|
||||
* Once integtation window is over, we wait for the 2nd ADC callback and then initiate SPI communication if needed
|
||||
* Once integration window is over, we wait for the 2nd ADC callback and then initiate SPI communication if needed
|
||||
*
|
||||
* hipOutput should be set to used FAST adc device
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue