Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubberazer authored Dec 25, 2023
1 parent 1994879 commit ddbde2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ int gpioSetISRFunc(unsigned gpio, unsigned edge, unsigned debounce, unsigned lon

int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) {
int status = 1;
int PFM =0;
int PFM = 0;

if ((frequency >= 400) && (frequency <=1595000)){
PFM = round(1597656.0/(double)frequency)-1;
Expand Down

0 comments on commit ddbde2b

Please sign in to comment.