Cosmetics
This commit is contained in:
@@ -41,6 +41,7 @@ void intmoduleSendNextFrame()
|
|||||||
case PROTOCOL_CHANNELS_PXX1_PULSES:
|
case PROTOCOL_CHANNELS_PXX1_PULSES:
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
// TODO this will be needed if we want to use HEARTBEAT for synchro with the module
|
||||||
INTMODULE_TIMER->ARR = TIMER_2MHz_TIMER->CNT - HeartbeatCapture > 0x2A00 ? 17979 : 18019;
|
INTMODULE_TIMER->ARR = TIMER_2MHz_TIMER->CNT - HeartbeatCapture > 0x2A00 ? 17979 : 18019;
|
||||||
#endif
|
#endif
|
||||||
INTMODULE_TIMER->CCR2 = intmodulePulsesData.pxx.getLast() - 4000; // 2mS in advance
|
INTMODULE_TIMER->CCR2 = intmodulePulsesData.pxx.getLast() - 4000; // 2mS in advance
|
||||||
|
|||||||
Reference in New Issue
Block a user