fix pumps

Took 2 minutes
This commit is contained in:
Tobias Hopp 2022-11-28 11:57:38 +01:00
parent 5d0bf48854
commit 6aad142664

View File

@ -143,6 +143,7 @@ export class iTender {
let timers: NodeJS.Timeout[] = [];
for (let x of job.amounts) {
console.log(x);
// Start pump here
try {
await MyGPIO.setup(x.container.pumpPin, GPIO.DIR_OUT)