Skip to content

Solved compilation error for ESP8266 Node MCU v3 error for functions tha…#4

Open
byamasu-patrick wants to merge 1 commit intoDFRobot:masterfrom
byamasu-patrick:master
Open

Solved compilation error for ESP8266 Node MCU v3 error for functions tha…#4
byamasu-patrick wants to merge 1 commit intoDFRobot:masterfrom
byamasu-patrick:master

Conversation

@byamasu-patrick
Copy link

…t were supposed to return values but did not.

Worked on the compilation errors that I encountered due to the -Werror=return-type flag, while compiling the library to work with ESP 8266. The functions getFingerImage(uint8_t*), getQuarterFingerImage(uint8_t*), and receiveImageData(uint8_t*) are declared to return a uint8_t value, but they reach the end of the function without returning any value.

I fiedx the issue, by adding appropriate return values to these functions. Please check it out test it to see if the changes can be intergrated to save time for many people.

…t were supposed to return values but did not
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

Successfully merging this pull request may close these issues.

1 participant