Compile Error, Mysensors 2.3.2



  • Hi.
    If i Try compile sketch with mysensors 2.3.0 - everything is ok. But after upgrade to 2.3.1 or 2.3.2 i have this error. Where is the problem ?

    In file included from C:\Users\user\Documents\Arduino\libraries\MySensors/MySensors.h:433:0,
    
                     from C:\Users\user\Documents\Arduino\rolety_stm_new\rolety_stm_new.ino:23:
    
    C:\Users\user\Documents\Arduino\libraries\MySensors/core/MySensorsCore.cpp: In function 'bool present(uint8_t, mysensors_sensor_t, const __FlashStringHelper*, bool)':
    
    C:\Users\useri\Documents\Arduino\libraries\MySensors/core/MySensorsCore.cpp:391:111: error: conditional expression between distinct pointer types 'const char*' and 'const __FlashStringHelper*' lacks a cast [-fpermissive]
    
                              requestEcho).set(childSensorId == NODE_SENSOR_ID ? F(" MYSENSORS_LIBRARY_VERSION "): description));
    
                                                                                                                   ^
    
    exit status 1
    
    

Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 2
  • 24
  • 2
  • 3

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts