diff --git a/api/HardwareCAN.h b/api/HardwareCAN.h index 57d9d582..f3b9edfa 100644 --- a/api/HardwareCAN.h +++ b/api/HardwareCAN.h @@ -39,6 +39,13 @@ enum class CanBitRate : int BR_1000k = 1000000, }; +/************************************************************************************** + * CONSTANTS + **************************************************************************************/ + +static int constexpr CAN_SUCCESS = 1; +static int constexpr CAN_ERROR_GENERIC = -1; + /************************************************************************************** * NAMESPACE **************************************************************************************/