summaryrefslogtreecommitdiff
path: root/firmware/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/stdlib.h')
-rw-r--r--firmware/include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
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);