Arduino-CmdMessenger icon indicating copy to clipboard operation
Arduino-CmdMessenger copied to clipboard

Match type of arguments to min() and max()

Open per1234 opened this issue 7 years ago • 1 comments

max() and min() were changed from macros to templates in ESP8266 core for Arduino 2.4.0. This change causes calls to these functions with arguments of different types to cause a compilation error "error: no matching function for call to". This commit changes the arguments to these functions to the same type to fix compatibility with ESP8266.

per1234 avatar Jun 02 '18 09:06 per1234

@per1234 @anselmpaul I will accept PR on gyssels/Arduino-CmdMessenger, and I messaging the other PR submitters so it can become an active branch I engage myself to do a full PR back here if in the future I'll not maintain this anymore.

gyssels avatar Sep 30 '21 07:09 gyssels