diff --git a/Multiprotocol/Telemetry.ino b/Multiprotocol/Telemetry.ino index 4493076..9923c41 100644 --- a/Multiprotocol/Telemetry.ino +++ b/Multiprotocol/Telemetry.ino @@ -818,7 +818,7 @@ ISR(TIMER0_COMPB_vect) else { // prepare next byte and allow for 2 stop bits - struct t_serial_bash *ptr = &SerialControl ; + volatile struct t_serial_bash *ptr = &SerialControl ; if ( ptr->head != ptr->tail ) { GPIOR0 = ptr->data[ptr->tail] ; @@ -869,7 +869,7 @@ ISR(TIMER0_OVF_vect) if ( --GPIOR1 == 0 ) { // prepare next byte - struct t_serial_bash *ptr = &SerialControl ; + volatile struct t_serial_bash *ptr = &SerialControl ; if ( ptr->head != ptr->tail ) { GPIOR0 = ptr->data[ptr->tail] ; diff --git a/Multiprotocol/_Config.h b/Multiprotocol/_Config.h index 9fd5a02..dd6a9a0 100644 --- a/Multiprotocol/_Config.h +++ b/Multiprotocol/_Config.h @@ -175,7 +175,7 @@ const PPM_Parameters PPM_prot[15]= { /* 11 */ {MODE_SLT , 0 , 0 , P_HIGH , NO_AUTOBIND , 0 }, /* 12 */ {MODE_CX10 , CX10_BLUE , 0 , P_HIGH , NO_AUTOBIND , 0 }, /* 13 */ {MODE_CG023 , CG023 , 0 , P_HIGH , NO_AUTOBIND , 0 }, -/* 14 */ {MODE_BAYANG, BAYANG , 0 , P_HIGH , NO_AUTOBIND , 0 }, +/* 14 */ {MODE_BAYANG, BAYANG , 0 , P_HIGH , NO_AUTOBIND , 0 }, /* 15 */ {MODE_SYMAX , SYMAX5C , 0 , P_HIGH , NO_AUTOBIND , 0 } }; /* Available protocols and associated sub protocols to pick and choose from