diff --git a/source/Core/Threads/OperatingModes/utils/min.cpp b/source/Core/Threads/OperatingModes/utils/min.cpp new file mode 100644 index 00000000..15829579 --- /dev/null +++ b/source/Core/Threads/OperatingModes/utils/min.cpp @@ -0,0 +1,10 @@ + + +#include "OperatingModeUtilities.h" +#include +uint16_t min(uint16_t a, uint16_t b) { + if (a > b) + return b; + else + return a; +} \ No newline at end of file