Thread (23 messages) 23 messages, 4 authors, 2018-03-16

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

From: Jakob Unterwurzacher <hidden>
Date: 2018-03-13 17:53:49
Also in: lkml

On 13.03.18 18:44, Marc Kleine-Budde wrote:
On 03/13/2018 06:35 PM, Jakob Unterwurzacher wrote:

[...]

Please mark all multibyte values going over the USB as either le or be.
This is documented in can_ucan_protocol.rst,

     All multi-byte integers are encoded as Little Endian.

but it's probably worth mentioning here as well.
Please use standard 'net' comment style:

 /* this is a multiline
  * comment
  */
quoted
+	struct ucan_ctl_cmd_start cmd_start;
+	/***************************************************
+	 * Setup Bittiming
+	 * bmRequest == UCAN_COMMAND_SET_BITTIMING
+	 ***************************************************/
Understood.

Thanks,
Jakob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help