refactoring - magic constant bad
cypress and kinetis both have this macro already
This commit is contained in:
parent
0af09f596c
commit
20784db801
|
@ -303,7 +303,7 @@ private:
|
|||
operation_mode_e operationMode;
|
||||
};
|
||||
|
||||
#ifndef
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue