refactoring - magic constant bad

cypress and kinetis both have this macro already
This commit is contained in:
rusefillc 2021-11-07 01:28:28 -04:00
parent 6ad60cc7b3
commit 0af09f596c
1 changed files with 2 additions and 0 deletions

View File

@ -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