OceanfromXiaomi commented on code in PR #13127:
URL: https://github.com/apache/nuttx/pull/13127#discussion_r1730892194


##########
include/nuttx/can/can.h:
##########
@@ -438,6 +493,30 @@
 #define CAN_FILTER_DUAL           1  /* Dual address match */
 #define CAN_FILTER_RANGE          2  /* Match a range of addresses */
 
+/* the state is default state. Indicates that the can controller is closed */
+
+#define CAN_STATE_STOP            0
+
+/* Indicates that the can controller is in the awake state */
+
+#define CAN_STATE_START           1

Review Comment:
   I don't understand ERROR states (passive, active etc) here. 
   now can controller have two state:
   1. `CAN_STATE_STOP`
   2. `CAN_STATE_START `



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to