Skip to content

Commit

Permalink
[gpio] fix gpiod_line_request_output
Browse files Browse the repository at this point in the history
  • Loading branch information
luhuadong committed Jan 6, 2023
1 parent 909580f commit e52d65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peripherals/gpio/gpio_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ int main(int argc, char const *argv[])
}

/* 配置引脚,输出模式 name 为 "blink" 初始电平为 low */
#if 1
#if 0
config.consumer = "blink";
config.request_type = GPIOD_LINE_REQUEST_DIRECTION_OUTPUT; // 输出模式

Expand Down

0 comments on commit e52d65e

Please sign in to comment.