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:
parent
42f6e9e4e4
commit
2bcb00fc74
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user