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