git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@296 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
602cff4618
commit
629f56d09f
|
@ -115,7 +115,7 @@ void hwinit(void) {
|
||||||
*/
|
*/
|
||||||
AT91C_BASE_PIOB->PIO_CODR = PIOB_LCD_BL; // Set to low.
|
AT91C_BASE_PIOB->PIO_CODR = PIOB_LCD_BL; // Set to low.
|
||||||
AT91C_BASE_PIOB->PIO_OER = PIOB_LCD_BL; // Configure as output.
|
AT91C_BASE_PIOB->PIO_OER = PIOB_LCD_BL; // Configure as output.
|
||||||
AT91C_BASE_PIOA->PIO_PPUDR = PIOB_LCD_BL; // Disable internal pullup resistor.
|
AT91C_BASE_PIOB->PIO_PPUDR = PIOB_LCD_BL; // Disable internal pullup resistor.
|
||||||
|
|
||||||
AT91C_BASE_PIOA->PIO_SODR = PIOA_LCD_RESET; // Set to high.
|
AT91C_BASE_PIOA->PIO_SODR = PIOA_LCD_RESET; // Set to high.
|
||||||
AT91C_BASE_PIOA->PIO_OER = PIOA_LCD_RESET; // Configure as output.
|
AT91C_BASE_PIOA->PIO_OER = PIOA_LCD_RESET; // Configure as output.
|
||||||
|
|
Loading…
Reference in New Issue