JacobCrabill commented on code in PR #6057:
URL: https://github.com/apache/incubator-nuttx/pull/6057#discussion_r851537433


##########
net/can/can_recvmsg.c:
##########
@@ -410,8 +410,7 @@ static uint16_t can_recvfrom_eventhandler(FAR struct 
net_driver_s *dev,
                                           FAR void *pvpriv, uint16_t flags)
 {
   struct can_recvfrom_s *pstate = (struct can_recvfrom_s *)pvpriv;
-#if (defined(CONFIG_NET_CANPROTO_OPTIONS) && defined(CONFIG_NET_CAN_CANFD)) || 
\
-  defined(CONFIG_NET_TIMESTAMP)

Review Comment:
   I believe my changes fix that error, correct?  I don't see any combination 
of CONFIG's that would result in either an undefined variable or an unused 
variable.



-- 
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