We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With arduino 1.8.9 you will get an error:
ESPEasy_P145_Itho.ino: In function 'boolean Plugin_145(byte, EventStruct*, String&)':
_P145_Itho:314:53: error: too many arguments to function 'void addFormSubHeader(const String&)'
addFormSubHeader(string, F("Remote RF Controls"));
Can be solved by removing "string, F()" and just use the string:
` break; }
case PLUGIN_WEBFORM_LOAD: { addFormSubHeader(string, F("Remote RF Controls")); addFormTextBox(string, F("Unit ID remote 1"), F("PLUGIN_145_ID1"), PLUGIN_145_ExtraSettings.ID1, 23); addFormTextBox(string, F("Unit ID remote 2"), F("PLUGIN_145_ID2"), PLUGIN_145_ExtraSettings.ID2, 23); addFormTextBox(string, F("Unit ID remote 3"), F("PLUGIN_145_ID3"), PLUGIN_145_ExtraSettings.ID3, 23); success = true; break; }`
into:
case PLUGIN_WEBFORM_LOAD: { addFormSubHeader("Remote RF Controls"); addFormTextBox("Unit ID remote 1", F("PLUGIN_145_ID1"), PLUGIN_145_ExtraSettings.ID1, 23); addFormTextBox("Unit ID remote 2", F("PLUGIN_145_ID2"), PLUGIN_145_ExtraSettings.ID2, 23); addFormTextBox("Unit ID remote 3", F("PLUGIN_145_ID3"), PLUGIN_145_ExtraSettings.ID3, 23); success = true; break; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With arduino 1.8.9 you will get an error:
ESPEasy_P145_Itho.ino: In function 'boolean Plugin_145(byte, EventStruct*, String&)':
_P145_Itho:314:53: error: too many arguments to function 'void addFormSubHeader(const String&)'
Can be solved by removing "string, F()" and just use the string:
` break; }
into:
case PLUGIN_WEBFORM_LOAD: { addFormSubHeader("Remote RF Controls"); addFormTextBox("Unit ID remote 1", F("PLUGIN_145_ID1"), PLUGIN_145_ExtraSettings.ID1, 23); addFormTextBox("Unit ID remote 2", F("PLUGIN_145_ID2"), PLUGIN_145_ExtraSettings.ID2, 23); addFormTextBox("Unit ID remote 3", F("PLUGIN_145_ID3"), PLUGIN_145_ExtraSettings.ID3, 23); success = true; break; }
The text was updated successfully, but these errors were encountered: