overrun error in meterbus uart handled
This commit is contained in:
@ -10,6 +10,7 @@ typedef struct __attribute__((__packed__)) s_deviceStats {
|
||||
uint32_t totalPowercycles;
|
||||
uint32_t totalRequests;
|
||||
uint32_t totalFailures;
|
||||
uint32_t totalOverruns;
|
||||
} t_deviceStats;
|
||||
|
||||
void eepromInit();
|
||||
@ -18,5 +19,4 @@ void eepromRead(uint16_t addr, uint8_t *buf, uint8_t len);
|
||||
void eepromSpiTxCpltCallback(SPI_HandleTypeDef *hspi);
|
||||
t_deviceStats* getGlobalDeviceStats();
|
||||
|
||||
|
||||
#endif /* EEPROM_H_ */
|
||||
|
Reference in New Issue
Block a user