[P105] Correct type error

This commit is contained in:
Ton Huisman
2021-09-07 13:06:52 +02:00
parent 485ff05da0
commit 2e71df57ba
+1 -1
View File
@@ -80,7 +80,7 @@ boolean Plugin_105(uint8_t function, struct EventStruct *event, String& string)
case PLUGIN_I2C_HAS_ADDRESS:
case PLUGIN_WEBFORM_SHOW_I2C_PARAMS:
{
const int i2cAddressValues[2] = { 0x38, 0x39 };
const uint8_t i2cAddressValues[2] = { 0x38, 0x39 };
if (function == PLUGIN_WEBFORM_SHOW_I2C_PARAMS) {
addFormSelectorI2C(F("i2c_addr"), 2, i2cAddressValues, PCONFIG(0));