diff options
Diffstat (limited to 'src/resource/resource_sound_detection_sensor.c')
-rw-r--r-- | src/resource/resource_sound_detection_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource/resource_sound_detection_sensor.c b/src/resource/resource_sound_detection_sensor.c index 1cf6a77..c03c7b8 100644 --- a/src/resource/resource_sound_detection_sensor.c +++ b/src/resource/resource_sound_detection_sensor.c @@ -36,7 +36,7 @@ void resource_close_sound_detection_sensor(int pin_num) resource_get_info(pin_num)->opened = 0; } -int resource_read_sound_detection_sensor(int pin_num, int *out_value) +int resource_read_sound_detection_sensor(int pin_num, uint32_t *out_value) { int ret = PERIPHERAL_ERROR_NONE; |