Skip to content

Commit

Permalink
undoing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubberazer committed Jul 17, 2024
1 parent bc6b2aa commit 0649a2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions orin.c
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) {
printf( "Not possible to change clock rate on pwm1\n");
}
fclose(fptr);
*pinmux15 = 0x00000440;
*pinmux15 = 0x00000400;
*pincfg15 = CFGO_OUT;
pin15->CNF[0] = 0x00000001;
*PWM1 = 0x0;
Expand All @@ -2150,7 +2150,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) {
printf( "Not possible to change clock rate on pwm7\n");
}
fclose(fptr);
*pinmux32 = 0x00000440;
*pinmux32 = 0x00000400;
*pincfg32 = CFGO_OUT;
pin32->CNF[0] = 0x00000001;
*PWM7 = 0x0;
Expand All @@ -2172,7 +2172,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) {
printf( "Not possible to change clock rate on pwm5\n");
}
fclose(fptr);
*pinmux33 = 0x00000441;
*pinmux33 = 0x00000401;
*pincfg33 = CFGO_OUT;
pin33->CNF[0] = 0x00000001;
*PWM5 = 0x0;
Expand Down

0 comments on commit 0649a2d

Please sign in to comment.