Thread (1 message) 1 message, 1 author, 2008-02-13

Re: [PATCH 2/2] driver for Zhen Hua PCM-4CH RC transmitter v2

From: Kmarty <hidden>
Date: 2008-02-13 16:52:20

2008/2/13, Dmitry Torokhov:
Hi,

On Wed, Feb 13, 2008 at 04:51:50PM +0100, Kmarty wrote:
quoted
+int zhenhua_init(int fd, long *id, long *extra)
+{
+     /* Zhen Hua 5 byte protokol: prvni (synchronizacni) byte obsahuje vzdy 0xF7,
+      * nasledujici ctyri pak jednotlive osy ovladace v intervalu 50-200.
+      * Pozor, nacitana data (jednotlive bajty) jsou bitove prevracene (nejnizsi
+      * bit je nejvyssim bitem) - neco jako little-endian na bitove urovni.
+      * Synchronizacni byte ma tedy bez prevraceni hodnotu 0xEF
+      *
+      * Inicializace je temer shodna s twiddlerem */
+
Could you please change this comment to english since this way most
people can read it? Other than that it all looks good, thanks.

--
Dmitry
Ok, translated.

Attachments

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