Skip to content

Commit 57d1adb

Browse files
authored
Merge pull request #100 from CarletonURocketry/ads1115_parallelize
Fixed continuity
2 parents f988d4c + 8ae2c65 commit 57d1adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pad_server/src/sensors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int adc_sensor_val_conversion(adc_channel_t *channel, int32_t adc_val, int32_t *
180180
} break;
181181

182182
case TELEM_CONT: {
183-
if (sensor_voltage <= 1) { /* Threshold voltage to switch state*/
183+
if (sensor_voltage <= 2.5) { /* Threshold voltage to switch state*/
184184
*output_val = 1;
185185
} else {
186186
*output_val = 0;

0 commit comments

Comments
 (0)