To fix DSM2 regression from last commit

This commit is contained in:
bsongis
2012-05-25 15:03:33 +00:00
parent 181ced12fc
commit 251ce1d69c
+1 -1
View File
@@ -168,7 +168,7 @@ ISR(TIMER1_COMPA_vect) //2MHz pulse generation
setupPulses();
if (!IS_PXX_PROTOCOL(g_model.protocol) && !IS_DSM2_PROTOCOL(g_model.protocol)) {
if (!IS_PXX_PROTOCOL(s_current_protocol) && !IS_DSM2_PROTOCOL(s_current_protocol)) {
// cli is not needed because for these 2 protocols interrupts are not enabled when entering here