Closed Raincode closed 4 years ago
Hello,
since this library uses C++, is there a specific reason not to use std::max and std::min, which IMHO are superior to defining custom macros:
std::max
std::min
#define MAX(a,b) (((a)>(b))?(a):(b)) #define MIN(a,b) (((a)<(b))?(a):(b))
Just a small suggestion I stumbled upon spontaneously :)
I love STD, but some MCU IDE do not support STD, or STD would make bin file much bigger.
Hello,
since this library uses C++, is there a specific reason not to use
std::max
andstd::min
, which IMHO are superior to defining custom macros:Just a small suggestion I stumbled upon spontaneously :)