diff --git a/shade_controller/wifi.h b/shade_controller/wifi.h index 3afb8e2..e241672 100644 --- a/shade_controller/wifi.h +++ b/shade_controller/wifi.h @@ -68,7 +68,7 @@ BLYNK_WRITE(V31) { //Acceleration } BLYNK_WRITE(V32) { //Invert direction - invertMotor = param.asInt(); + invertMotor[0] = param.asInt(); } BLYNK_WRITE(V33) { //Reset device for inverted setting