debugging

This commit is contained in:
Wolfgang Hottgenroth 2020-11-05 18:21:57 +01:00
parent bca4605b19
commit a94536c7b9
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -120,9 +120,9 @@ void eepromInit() {
logMsg("1");
__EEPROM_CS(LOW);
HAL_SPI_TransmitReceive(&eepromSpi, txBuf, rxBuf, 2, HAL_MAX_DELAY);
HAL_StatusTypeDef r = HAL_SPI_TransmitReceive(&eepromSpi, txBuf, rxBuf, 2, HAL_MAX_DELAY);
__EEPROM_CS(HIGH);
logMsg("2, %02x %02x", rxBuf[0], rxBuf[1]);
logMsg("2, %02x %02x %02x", r, rxBuf[0], rxBuf[1]);