Skip to content
New issue

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

Fehler beim Kompilieren mit aktueller EspEasy #2

Open
jowiemann opened this issue Jul 31, 2017 · 4 comments
Open

Fehler beim Kompilieren mit aktueller EspEasy #2

jowiemann opened this issue Jul 31, 2017 · 4 comments

Comments

@jowiemann
Copy link

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

@jbishop129
Copy link

jbishop129 commented Jan 4, 2018

@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

@Kalekulan
Copy link

I experience the same issue. Still no update on this?

@lhurt
Copy link

lhurt commented Mar 6, 2018

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.

@sidey79
Copy link

sidey79 commented Mar 18, 2018

I've provieded a few weeks ago already a fix for that problem.

#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants