Now Haptic is as quick as on the gruvin9x v4 board!
This commit is contained in:
@@ -419,6 +419,7 @@ extern "C" void TC2_IRQHandler()
|
||||
dummy = TC0->TC_CHANNEL[2].TC_SR;
|
||||
(void) dummy ; // Discard value - prevents compiler warning
|
||||
|
||||
HAPTIC_HEARTBEAT();
|
||||
AUDIO_HEARTBEAT();
|
||||
|
||||
if ( ++pre_scale >= 2 ) {
|
||||
|
||||
@@ -2116,12 +2116,6 @@ void perMain()
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
#if defined(PCBARM)
|
||||
HAPTIC_HEARTBEAT();
|
||||
// AUDIO_HEARTBEAT(); // the queue processing
|
||||
#endif
|
||||
|
||||
}
|
||||
int16_t g_ppmIns[8];
|
||||
uint8_t ppmInState = 0; //0=unsync 1..8= wait for value i-1
|
||||
|
||||
Reference in New Issue
Block a user