Fix a potential issue with reporting the wrong command type in ACK and NAK messages.

This commit is contained in:
Jonathan Naylor 2021-06-17 16:55:59 +01:00
parent 43b53fe2fc
commit f4e1c0b401
3 changed files with 43 additions and 43 deletions

View file

@ -109,8 +109,8 @@ private:
uint16_t m_lastSerialAvailCount;
CRingBuffer<uint8_t> m_i2CData;
void sendACK();
void sendNAK(uint8_t err);
void sendACK(uint8_t type);
void sendNAK(uint8_t type, uint8_t err);
void getStatus();
void getVersion();
uint8_t setConfig(const uint8_t* data, uint16_t length);