In file included from C:\Users\anama\Documents\Arduino\libraries\FastLED\src/FastLED.h:75,
from C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino:20:
C:\Users\anama\Documents\Arduino\libraries\FastLED\src/fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'
157 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getCounterHue(int)':
esp8266-fastled-iot-webserver:3689:1: error: control reaches end of non-void function [-Werror=return-type]
3689 | }
| ^
C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getPairHue(int)':
esp8266-fastled-iot-webserver:3694:1: error: control reaches end of non-void function [-Werror=return-type]
3694 | }
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
control reaches end of non-void function [-Werror=return-type]
This is my log:
In file included from C:\Users\anama\Documents\Arduino\libraries\FastLED\src/FastLED.h:75, from C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino:20: C:\Users\anama\Documents\Arduino\libraries\FastLED\src/fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output' 157 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output" | ^
~~~~~~~~~~~~~~~~~~~ C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getCounterHue(int)': esp8266-fastled-iot-webserver:3689:1: error: control reaches end of non-void function [-Werror=return-type] 3689 | } | ^ C:\Users\anama\Desktop\esp8266-fastled-iot-webserver\esp8266-fastled-iot-webserver.ino: In function 'int getPairHue(int)': esp8266-fastled-iot-webserver:3694:1: error: control reaches end of non-void function [-Werror=return-type] 3694 | } | ^ cc1plus.exe: some warnings being treated as errors exit status 1 control reaches end of non-void function [-Werror=return-type]