debugging

This commit is contained in:
2020-11-05 17:58:41 +01:00
parent 6719a2274d
commit 594f0c5d68

View File

@ -94,6 +94,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);
__EEPROM_CS(HIGH);