We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a02bfc commit 6c411feCopy full SHA for 6c411fe
api/HardwareCAN.h
@@ -39,6 +39,13 @@ enum class CanBitRate : int
39
BR_1000k = 1000000,
40
};
41
42
+/**************************************************************************************
43
+ * CONSTANTS
44
+ **************************************************************************************/
45
+
46
+static int constexpr CAN_SUCCESS = 1;
47
+static int constexpr CAN_ERROR_GENERIC = -1;
48
49
/**************************************************************************************
50
* NAMESPACE
51
**************************************************************************************/
0 commit comments