mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10539 from Jason2866/patch-4
Fixing compile error (PCF8574)
This commit is contained in:
commit
e32f2d9de0
|
@ -168,7 +168,7 @@ void HandlePcf8574(void)
|
||||||
|
|
||||||
WSContentStart_P(D_CONFIGURE_PCF8574);
|
WSContentStart_P(D_CONFIGURE_PCF8574);
|
||||||
WSContentSendStyle();
|
WSContentSendStyle();
|
||||||
WSContentSend_P(HTTP_FORM_I2C_PCF8574_1, (Settings.flag3.pcf8574_ports_inverted) ? PST(" checked") : ""); // SetOption81 - Invert all ports on PCF8574 devices
|
WSContentSend_P(HTTP_FORM_I2C_PCF8574_1, (Settings.flag3.pcf8574_ports_inverted) ? PSTR(" checked") : ""); // SetOption81 - Invert all ports on PCF8574 devices
|
||||||
WSContentSend_P(HTTP_TABLE100);
|
WSContentSend_P(HTTP_TABLE100);
|
||||||
for (uint32_t idx = 0; idx < Pcf8574.max_devices; idx++) {
|
for (uint32_t idx = 0; idx < Pcf8574.max_devices; idx++) {
|
||||||
for (uint32_t idx2 = 0; idx2 < 8; idx2++) { // 8 ports on PCF8574
|
for (uint32_t idx2 = 0; idx2 < 8; idx2++) { // 8 ports on PCF8574
|
||||||
|
|
Loading…
Reference in New Issue