Skip to content

Commit

Permalink
fix PIC18F4580 number of CCPs to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgamboa committed Feb 1, 2024
1 parent f1be460 commit f3cfb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pics/PIC18F4580.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ void PIC18F4580_start(_pic* pic) {
pic->IDSIZE = 8;
pic->CONFIGSIZE = 7;
pic->STACKSIZE = 31;
pic->CCPCOUNT = 2;
pic->CCPCOUNT = 1;
pic->ADCCOUNT = 11;
pic->USARTCOUNT = 1;
pic->WDT_MS = 4;
Expand Down

0 comments on commit f3cfb55

Please sign in to comment.