Commit ced565f3 by jim

get rid of extraneous breaks

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@8328 ddd99763-3ecb-0310-9145-efcb8ce7c51f
parent e6e9d32a
Showing with 0 additions and 3 deletions
...@@ -696,17 +696,14 @@ int data_callback(int channels, uint16_t * data, void *context) ...@@ -696,17 +696,14 @@ int data_callback(int channels, uint16_t * data, void *context)
&ci->calib, UE9_BIPOLAR_GAIN1, &ci->calib, UE9_BIPOLAR_GAIN1,
12, data[i])) < 0) 12, data[i])) < 0)
goto bad; goto bad;
break;
} else if (ci->convert == CONVERT_HEX) { } else if (ci->convert == CONVERT_HEX) {
/* CONVERT_HEX */ /* CONVERT_HEX */
if (printf("%04X", data[i]) < 0) if (printf("%04X", data[i]) < 0)
goto bad; goto bad;
break;
} else { } else {
/* CONVERT_DEC */ /* CONVERT_DEC */
if (printf("%d", data[i]) < 0) if (printf("%d", data[i]) < 0)
goto bad; goto bad;
break;
} }
columns_left--; columns_left--;
if (i < (channels - 1)) { if (i < (channels - 1)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment