default params for happy test

This commit is contained in:
Matthew Kennedy 2023-10-24 01:25:38 -07:00 committed by Andrey
parent 029bc9fdac
commit 6b8aaa8e30
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static inline void wrapAngle(angle_t& angle, const char* msg, ObdCode code) {
}
// proper method avoids un-wrapped state of variables
static inline angle_t wrapAngleMethod(angle_t param, const char *msg, ObdCode code) {
static inline angle_t wrapAngleMethod(angle_t param, const char *msg = "", ObdCode code = ObdCode::OBD_PCM_Processor_Fault) {
wrapAngle(param, msg, code);
return param;
}