debugging

This commit is contained in:
Wolfgang Hottgenroth 2020-11-05 17:58:41 +01:00
parent 6719a2274d
commit 594f0c5d68
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -93,6 +93,8 @@ void eepromRead(uint16_t addr, uint8_t *buf, uint8_t len) {
};
t_spiMsg rxMsg;
coloredMsg(LOG_YELLOW, "len: %d", len);
__EEPROM_CS(LOW);
HAL_SPI_TransmitReceive(&eepromSpi, txMsg.b, rxMsg.b, ((uint16_t)(len+3)), HAL_MAX_DELAY);