Skip to content
Snippets Groups Projects
Commit b3941fce authored by Daid's avatar Daid
Browse files

Update after testing

parent d4946885
Branches
Tags
No related merge requests found
...@@ -1279,12 +1279,12 @@ void process_commands() ...@@ -1279,12 +1279,12 @@ void process_commands()
if (codenum > 0) if (codenum > 0)
{ {
codenum += millis(); // keep track of when we started waiting codenum += millis(); // keep track of when we started waiting
while(millis() < codenum && buttons == 0){ while(millis() < codenum && !CLICKED){
manage_heater(); manage_heater();
manage_inactivity(1); manage_inactivity(1);
} }
}else{ }else{
while(buttons == 0) { while(!CLICKED) {
manage_heater(); manage_heater();
manage_inactivity(1); manage_inactivity(1);
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment