Fix compilation

This commit is contained in:
Nanosonde 2020-11-08 15:39:07 +01:00
parent 9e01a5c915
commit ebfebaaf71
2 changed files with 1 additions and 5 deletions

View File

@ -134,8 +134,7 @@ const uint8_t RfPhysicalLayerCC1101::cc1101_2FSK_32_7_kb[CFG_REGISTER] = {
const uint8_t RfPhysicalLayerCC1101::paTablePower868[8] = {0x03,0x17,0x1D,0x26,0x50,0x86,0xCD,0xC0};
RfPhysicalLayerCC1101::RfPhysicalLayerCC1101(RfDataLinkLayer& rfDataLinkLayer, Platform& platform)
: _rfDataLinkLayer(rfDataLinkLayer),
_platform(platform)
: RfPhysicalLayer(rfDataLinkLayer, platform)
{
}

View File

@ -237,9 +237,6 @@ class RfPhysicalLayerCC1101 : public RfPhysicalLayer
uint8_t prevStatusGDO0 {0}; // for edge detection during polling
uint8_t prevStatusGDO2 {0}; // for edge detection during polling
uint32_t packetStartTime {0};
RfDataLinkLayer& _rfDataLinkLayer;
Platform& _platform;
};
#endif // USE_RF