Skip to content

Commit

Permalink
testing normal input
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed May 8, 2024
1 parent bac14cf commit 4e5a576
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ezbot_command_module/include/tirette.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ bool TiretteNode::init_gpiod(void)
printf("gpioTirette successful = %d\n",gpioTirette);

int temp;
temp = gpiod_line_request_input_flags(gpioline,"Tirette", GPIOD_LINE_BIAS_PULL_UP);
// temp = gpiod_line_request_input_flags(gpioline,"Tirette", GPIOD_LINE_BIAS_PULL_UP);

temp = gpiod_line_request_input(gpioline,"Tirette");
printf("gpiod_line_request_input_flags = %d\n",temp);
return true;

Expand Down

0 comments on commit 4e5a576

Please sign in to comment.