diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h index 44aba49a55..0074fe65e5 100644 --- a/firmware/include/stdlib.h +++ b/firmware/include/stdlib.h @@ -36,6 +36,7 @@ void srand(unsigned int seed); int rand(void); #define abs(x) ((x)>0?(x):-(x)) +#define labs(x) abs(x) #ifdef SIMULATOR void exit(int status);