Clean up of debug prints, and safer CAS handling

This commit is contained in:
stevenhowes
2019-05-06 18:01:30 +01:00
parent fad496f152
commit f80968559e
6 changed files with 19 additions and 19 deletions
+7 -5
View File
@@ -56,7 +56,13 @@ void cas_process()
else
{
// Clear it if we're in sync, but don't clear log flag
cas_sync_fail = 0;
if(cas_sync_initial == 1)
{
cas_sync_initial = 0;
cas_sync_fail = 0;
cas_sync_fail_log = 0;
}
}
// Use this number because we KNOW it's right
@@ -137,7 +143,3 @@ void cas_process()
}
cas_sgc_lastvalue = sgc;
}