OceanfromXiaomi commented on code in PR #17775:
URL: https://github.com/apache/nuttx/pull/17775#discussion_r2666913642
##########
net/can/can_callback.c:
##########
@@ -193,7 +193,7 @@ uint32_t can_callback(FAR struct net_driver_s *dev,
*
****************************************************************************/
-uint16_t can_datahandler(FAR struct net_driver_s *dev,
+int can_datahandler(FAR struct net_driver_s *dev,
FAR struct can_conn_s *conn)
Review Comment:
done
##########
net/can/can_callback.c:
##########
@@ -67,8 +67,8 @@ can_data_event(FAR struct net_driver_s *dev, FAR struct
can_conn_s *conn,
uint32_t flags)
{
int buflen = dev->d_len;
- uint16_t recvlen;
- uint32_t ret;
+ int recvlen;
+ uint16_t ret;
Review Comment:
done
--
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]