diff --git a/AMS_Master_Code/Core/Src/main.c b/AMS_Master_Code/Core/Src/main.c index b440f14..948083e 100644 --- a/AMS_Master_Code/Core/Src/main.c +++ b/AMS_Master_Code/Core/Src/main.c @@ -167,6 +167,15 @@ int main(void) modules[i].auxVoltages[5], modules[i].auxVoltages[6], modules[i].auxVoltages[7], modules[i].auxVoltages[8], modules[i].auxVoltages[9]); + debug_log(LOG_LEVEL_INFO, " Calculated temps:"); + debug_log(LOG_LEVEL_INFO, " T0: %4d T1: %4d T2: %4d T3: %4d T4: %4d", + calcTemp(modules[i].auxVoltages[0]), calcTemp(modules[i].auxVoltages[1]), + modules[i].auxVoltages[2], modules[i].auxVoltages[3], + modules[i].auxVoltages[4]); + debug_log(LOG_LEVEL_INFO, " G5: %4d G6: %4d G7: %4d G8: %4d G9: %4d", + modules[i].auxVoltages[5], modules[i].auxVoltages[6], + modules[i].auxVoltages[7], modules[i].auxVoltages[8], + modules[i].auxVoltages[9]); debug_log(LOG_LEVEL_INFO, " Internal temp: %d, VAnalog: %d, VDigital: %d, VRef: %d", modules[i].internalDieTemp, modules[i].analogSupplyVoltage,