1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

Issue 110 fixed

This commit is contained in:
bsongis 2012-08-28 06:44:03 +00:00
parent 43542c9d9f
commit b8449a42db

View file

@ -105,7 +105,7 @@ ISR(TIMER1_COMPA_vect) //2MHz pulse generation (BLOCKING ISR)
uint8_t dt = TCNT1L; // record Timer1 latency for DEBUG stats display
#ifdef DSM2_SERIAL
if (g_model.protocol == PROTO_DSM2) {
if (s_current_protocol == PROTO_DSM2) {
OCR1A = 40000;
// sei will be called inside setupPulses()
setupPulses(); // will call sei()