Removed serial debug

This commit is contained in:
Magnus Persson
2022-07-05 17:43:59 +02:00
parent 5b7290c991
commit c503ad88a9

View File

@ -202,10 +202,12 @@ double gravityTemperatureCorrectionC(double gravitySG, double tempC,
double g = te_eval(expr); double g = te_eval(expr);
te_free(expr); te_free(expr);
#if LOG_LEVEL == 6 && !defined(CALC_DISABLE_LOGGING)
char s[80]; char s[80];
snprintf(&s[0], sizeof(s), "Corrected gravity=%.8f, input gravity=%.8f", g, snprintf(&s[0], sizeof(s), "Corrected gravity=%.8f, input gravity=%.8f", g,
gravitySG); gravitySG);
Log.notice(F("CALC: %s." CR), &s[0]); Log.verbose(F("CALC: %s." CR), &s[0]);
#endif
return g; return g;
} }