HEAD and TAIL missing in PXX2 frames

This commit is contained in:
Bertrand Songis
2018-11-28 16:53:18 +01:00
parent ab64360232
commit 3605109d25
2 changed files with 42 additions and 5 deletions
+1 -3
View File
@@ -24,7 +24,6 @@
void Pxx2Pulses::setupFrame(uint8_t port)
{
initFrame();
initCrc();
static uint8_t pass[NUM_MODULES] = { MODULES_INIT(0) };
uint8_t sendUpperChannels = 0;
@@ -55,6 +54,5 @@ void Pxx2Pulses::setupFrame(uint8_t port)
}
#endif
// CRC
addByte(crc); // TODO need to check the CRC chosen algorithm
endFrame();
}