]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/demo/protocol.c
Random whitespace/cosmetic fixes.
[libsigrok.git] / src / hardware / demo / protocol.c
index 46808fd6cf5622b4cd2ad333906ab9159059ac3d..53ae247726ab9af2382a084af10977b029f17c7a 100644 (file)
@@ -483,7 +483,7 @@ SR_PRIV int demo_prepare_data(int fd, int revents, void *cb_data)
         */
        todo_us = samples_todo * G_USEC_PER_SEC / devc->cur_samplerate;
 
-       logic_done  = devc->num_logic_channels  > 0 ? 0 : samples_todo;
+       logic_done = devc->num_logic_channels > 0 ? 0 : samples_todo;
        if (!devc->enabled_logic_channels)
                logic_done = samples_todo;
        analog_done = devc->num_analog_channels > 0 ? 0 : samples_todo;