Bugs: fixed telemetry disable compilation error

This commit is contained in:
Pascal Langer
2018-10-11 17:58:07 +02:00
parent 5cf8d8d263
commit b40e7d6e97
4 changed files with 19 additions and 10 deletions

View File

@@ -259,6 +259,7 @@ static void __attribute__((unused)) CX10_initialize_txid()
uint16_t initCX10(void)
{
BIND_IN_PROGRESS; // autobind protocol
if(sub_protocol==CX10_BLUE)
{
packet_length = CX10A_PACKET_SIZE;
@@ -282,7 +283,6 @@ uint16_t initCX10(void)
}
CX10_initialize_txid();
CX10_init();
BIND_IN_PROGRESS; // autobind protocol
return CX10_INITIAL_WAIT+packet_period;
}