Skip to content

Commit

Permalink
lib signal reader: remove gpio pull setting in alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
gornekich committed Oct 25, 2023
1 parent df36498 commit 987f7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signal_reader/signal_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ SignalReader* signal_reader_alloc(const GpioPin* gpio_pin, uint32_t size) {
SignalReader* instance = malloc(sizeof(SignalReader));

instance->pin = gpio_pin;
instance->pull = GpioPullDown;
instance->pull = GpioPullNo;

instance->buffer_size = size;
instance->gpio_buffer = malloc(sizeof(uint16_t) * size * 8);
Expand Down

0 comments on commit 987f7f6

Please sign in to comment.