We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb3c63 commit 1997b53Copy full SHA for 1997b53
source/c_adc.c
@@ -57,6 +57,7 @@ BBIO_err initialize_adc(void)
57
if (err == BBIO_OK) {
58
strncat(adc_prefix_dir, "/sys/bus/iio/devices/iio:device0/in_voltage", sizeof(adc_prefix_dir));
59
snprintf(test_path, sizeof(test_path), "%s%d_raw", adc_prefix_dir, 1);
60
+ sleep(1);
61
fh = fopen(test_path, "r");
62
63
if (!fh) {
0 commit comments