Remove erroneous await
This commit is contained in:
parent
0cd0c92809
commit
2606a5258f
2
main.js
2
main.js
@ -7,7 +7,7 @@ const dotenv = require('dotenv').config();
|
|||||||
// TODO Add logic for other sensors
|
// TODO Add logic for other sensors
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
await main();
|
main();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main function, turns the auger on, sleeps for the time given in environment variables, then turns the auger off, sleeps, repeats.
|
// Main function, turns the auger on, sleeps for the time given in environment variables, then turns the auger off, sleeps, repeats.
|
||||||
|
Loading…
Reference in New Issue
Block a user