2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-18 20:12:28 -05:00

changed runCompressor to 'void'

This commit is contained in:
Adam Long 2014-04-02 15:17:28 -07:00
parent 42f6e9e4e4
commit 2bcb00fc74

View File

@ -249,7 +249,7 @@ public:
} }
//}}} //}}}
//runCompressor{{{ //runCompressor{{{
bool runCompressor(int timer, int refreshInterval){ void runCompressor(int timer, int refreshInterval){
if(timer%refreshInterval==0&compressing&comressor.GetPressureSwitchValue()==1){ if(timer%refreshInterval==0&compressing&comressor.GetPressureSwitchValue()==1){
compressing=false; compressing=false;
compressor.Stop(); compressor.Stop();