Open jowiemann opened 7 years ago
@jowiemann @ddtlabs I get the same error when trying to compile in Arduino IDE v1.8.5.
invalid conversion from 'boolean* {aka unsigned char*}' to 'boolean {aka unsigned char}' [-fpermissive]
The compile hangs up in this block of code
case PLUGIN_INIT: // ------------------------------------------->
{
LoadTaskSettings(event->TaskIndex);
Plugin_123_options.rgb_enabled = Settings.TaskDevicePluginConfigFloat[event->TaskIndex][1];
Plugin_123_options.ww_enabled = Settings.TaskDevicePluginConfigFloat[event->TaskIndex][2];
Plugin_123_options.cw_enabled = Settings.TaskDevicePluginConfigFloat[event->TaskIndex][3];
Plugin_123_options.maxBri_enabled = Settings.TaskDevicePluginConfigLong[event->TaskIndex][0];
Plugin_123_options.sendData_enabled = Settings.TaskDeviceSendData[event->TaskIndex];
if (Settings.TaskDevicePluginConfig[event->TaskIndex][5] > 0)
Plugin_123_options.wwTemp = Settings.TaskDevicePluginConfig[event->TaskIndex][5];
if (Settings.TaskDevicePluginConfig[event->TaskIndex][6] > 0)
Plugin_123_options.cwTemp = Settings.TaskDevicePluginConfig[event->TaskIndex][6];
Plugin_123_defaultFadingTime = Settings.TaskDevicePluginConfigFloat[event->TaskIndex][0];
Specifically at
Plugin_123_options.sendData_enabled = Settings.TaskDeviceSendData[event->TaskIndex];
Would love to help fix this, this plugin will be a huge benefit to me! Edit: fixed code block tags
I experience the same issue. Still no update on this?
Hi,
in German language FHEM forum was posted a workaround. The forum user "dev0" seems to be the author of this plugin (see initial post of linked thread). For the non German speaking users, the workaround is to channge line 99 from
Device[deviceCount].SendDataOption = false;
to
Device[deviceCount].SendDataOption = true;
and comment line 243
Plugin_123_options.sendData_enabled = Settings.TaskDeviceSendData[event->TaskIndex];
out.
After that the compilation was successful.
I've provieded a few weeks ago already a fix for that problem.
Hallo,
bekomme folgenden Fehler: invalid conversion from 'boolean {aka unsigned char}' to 'boolean {aka unsigned char}' [-fpermissive] in Zeile 243: Plugin_123_options.sendData_enabled = Settings.TaskDeviceSendData[event->TaskIndex];
Arduino 1.8.2 letscontrolit/ESPEasy, aktuell gezogen
Grüße Jörg
PS: Kompilieren mit alter EspEasy Build: 145 funktioniert