fix: comment out SID for now

This commit is contained in:
Kilian Bracher 2025-03-25 19:30:40 +01:00
parent 20f2071cea
commit 5a50e4ebcd

View File

@ -31,7 +31,7 @@ HAL_StatusTypeDef amsReset() {
amsWakeUp();
readCMD(SRST, CMD_EMPTY_BUFFER, 0);
uint8_t sidbuffer[CMD_BUFFER_SIZE(SID_GROUP_SIZE)] = {};
/* uint8_t sidbuffer[CMD_BUFFER_SIZE(SID_GROUP_SIZE)] = {};
if (readCMD(RDSID, sidbuffer, SID_GROUP_SIZE) != HAL_OK) {
bool nonzero = false;
for (size_t i = 0; i < N_BMS; i++) {
@ -48,6 +48,8 @@ HAL_StatusTypeDef amsReset() {
return HAL_ERROR;
}
debug_log(LOG_LEVEL_INFO, "BMS reset complete");
if (DEBUG_CHANNEL_ENABLED(LOG_LEVEL_INFO)) {
@ -59,7 +61,7 @@ HAL_StatusTypeDef amsReset() {
}
debug_log_cont(LOG_LEVEL_INFO, "0x%lx%lx ", (uint32_t)(id >> 32), (uint32_t)(id & 0xFFFFFFFF)); //newlib does not support %llu
}
}
} */
mcuDelay(10);
amsWakeUp();