diff --git a/src/pid.c b/src/pid.c --- a/src/pid.c +++ b/src/pid.c @@ -3,7 +3,6 @@ // #include "pid.h" -#include "flash.h" // Private variables static pid_state_t state; @@ -42,6 +41,7 @@ float pid_process(void) ssr_output = power_percent; //(((uint32_t)SSR_PERIOD * (uint32_t)10 * (uint32_t)100) * power_percent) / (uint32_t)1000000; // put ssr output on display + //TODO: move to display ssd1306_drawstring(" ", 0, 90); //fixme: this is bad, but I can't get the old digits to clear otherwise char tempstr[8]; snprintf(tempstr, 8, "%4.1f%%", ssr_output/10.0); @@ -52,7 +52,8 @@ float pid_process(void) ssr_output = 0.0; } - return ssr_output; //ssr_output; + return ssr_output; //ssr_output;=== START OF INFORMATION SECTION === + }