Skip to content

Commit

Permalink
Fix typo in display GPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
ReservedField committed Aug 23, 2016
1 parent beca768 commit b67bcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display/Display.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void Display_SetupSPI() {
GPIO_SetMode(PE, BIT12, GPIO_MODE_OUTPUT);

// Setup MFP
SYS->GPB_MFPL &= ~(SYS_GPE_MFPH_PE11MFP_Msk | SYS_GPE_MFPH_PE12MFP_Msk | SYS_GPE_MFPH_PE13MFP_Msk);
SYS->GPE_MFPL &= ~(SYS_GPE_MFPH_PE11MFP_Msk | SYS_GPE_MFPH_PE12MFP_Msk | SYS_GPE_MFPH_PE13MFP_Msk);
SYS->GPE_MFPH |= SYS_GPE_MFPH_PE11MFP_SPI0_MOSI0 | SYS_GPE_MFPH_PE12MFP_SPI0_SS | SYS_GPE_MFPH_PE13MFP_SPI0_CLK;

// SPI0 master, MSB first, 8bit transaction, SPI Mode-0 timing, 4MHz clock
Expand Down

0 comments on commit b67bcc4

Please sign in to comment.