02-08-2022, 05:05 AM
I got following error whrn compile homespan with ESP 32
Any idea of this?
Thx
In file included from C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\examples\05-WorkingLED\05-WorkingLED.ino:39:0:
C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h: In member function 'String SpanCharacteristic::uvPrint(SpanCharacteristic::UVal&)':
C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h:305:33: error: use of 'll' length modifier with 'g' type character [-Werror=format=]
sprintf(c,"%llg",u.FLOAT);
Any idea of this?
Thx
In file included from C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\examples\05-WorkingLED\05-WorkingLED.ino:39:0:
C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h: In member function 'String SpanCharacteristic::uvPrint(SpanCharacteristic::UVal&)':
C:\Users\xmos\Documents\Arduino\libraries\HomeSpan\src/HomeSpan.h:305:33: error: use of 'll' length modifier with 'g' type character [-Werror=format=]
sprintf(c,"%llg",u.FLOAT);