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 e64f71ace7
commit 73fe152db2
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