]> sigrok.org Git - libsigrok.git/commitdiff
demo: Small indentation fix.
authorUwe Hermann <redacted>
Wed, 19 Jan 2011 22:47:21 +0000 (23:47 +0100)
committerUwe Hermann <redacted>
Wed, 19 Jan 2011 22:47:21 +0000 (23:47 +0100)
hardware/demo/demo.c

index 1b16ee6a050db8bf62605c2758f5d6c6dcb378c8..0312d9cb10cdc7d12ba17d0efcb32ec6392dfdfb 100644 (file)
@@ -282,13 +282,13 @@ static void thread_func(void *data)
 /* Callback handling data */
 static int receive_data(int fd, int revents, void *user_data)
 {
-struct datafeed_packet packet;
-char c[BUFSIZE];
-uint64_t z;
+       struct datafeed_packet packet;
+       char c[BUFSIZE];
+       uint64_t z;
 
-/* Avoid compiler warnings. */
-fd = fd;
-revents = revents;
+       /* Avoid compiler warnings. */
+       fd = fd;
+       revents = revents;
 
        do {
                g_io_channel_read_chars(channels[0],