Skip to content
Permalink
Browse files

Restore RS position fix

  • Loading branch information
przemyslawzygmunt committed Jan 3, 2019
1 parent 47bdf35 commit 761c734f17a938ac4271ad6bbbf06e053732cd44
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/SuplaDevice/SuplaDevice.cpp
@@ -312,7 +312,7 @@ bool SuplaDeviceClass::begin(IPAddress *local_ip, char GUID[SUPLA_GUID_SIZE], ui
rs_load_settings(&roller_shutter[a]);
rs_load_position(&roller_shutter[a]);

Params.reg_dev.channels[roller_shutter[rs_count].channel_number].value[0] = (roller_shutter[a].position-100)/100;
Params.reg_dev.channels[roller_shutter[a].channel_number].value[0] = (roller_shutter[a].position-100)/100;
}

#ifdef ARDUINO_ARCH_ESP8266

0 comments on commit 761c734

Please sign in to comment.
You can’t perform that action at this time.