Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty return value in orangepi_set_gpio_mode in wiringPi.c #115

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wiringPi/wiringPi.c
Original file line number Diff line number Diff line change
Expand Up @@ -7209,7 +7209,7 @@ int orangepi_set_gpio_mode(int pin, int mode)
printf("the pin you choose doesn't support hardware PWM\n");
printf("OPI:you can select wiringPi pin 33 for PWM pin\n");
printf("or you can use it in softPwm mode\n");
return;
exit(1);
}

pwm_prd_default = 150000;
Expand Down