simplify some code, add comments
ABS simplification from Iceman1001
This commit is contained in:
@@ -24,6 +24,10 @@ typedef unsigned char byte_t;
|
||||
#ifndef MAX
|
||||
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
#ifndef ABS
|
||||
# define ABS(a) ( ((a)<0) ? -(a) : (a) )
|
||||
#endif
|
||||
|
||||
|
||||
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user