Now Haptic is as quick as on the gruvin9x v4 board!

This commit is contained in:
bsongis
2012-05-04 21:38:10 +00:00
parent 6d014ea291
commit 5321dae917
2 changed files with 1 additions and 6 deletions
+1
View File
@@ -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 ) {
-6
View File
@@ -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