strip downlink function
This commit is contained in:
@ -140,9 +140,6 @@ static void prepareTxFrame( uint8_t port )
|
||||
|
||||
void downLinkDataHandle(McpsIndication_t *mcpsIndication)
|
||||
{
|
||||
Serial.printf("+REV DATA:%s,RXSIZE %d,PORT %d\r\n",mcpsIndication->RxSlot?"RXWIN2":"RXWIN1",mcpsIndication->BufferSize,mcpsIndication->Port);
|
||||
Serial.print("+REV DATA:");
|
||||
|
||||
sensor_t downlinkSensors[NUM_OF_SENSORS];
|
||||
|
||||
if (mcpsIndication->BufferSize != sizeof(downlinkSensors)) {
|
||||
@ -169,7 +166,6 @@ void downLinkDataHandle(McpsIndication_t *mcpsIndication)
|
||||
}
|
||||
}
|
||||
Serial.println();
|
||||
uint32_t color=mcpsIndication->Buffer[0]<<16|mcpsIndication->Buffer[1]<<8|mcpsIndication->Buffer[2];
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user