Button modification

This commit is contained in:
Jerry Palacios
2024-02-12 09:29:10 -06:00
parent 7e0100408d
commit 7b780c068c
2 changed files with 5 additions and 8 deletions

View File

@@ -37,11 +37,11 @@
#define LED_PIN 12 // red #define LED_PIN 12 // red
#define LED_STATE_ON 0 #define LED_STATE_ON 0
// WAKE button (Dummy, use unused pin // ISP button (Dummy, use unused pin
// #define BUTTON_GPIO GPIO1 #define BUTTON_GPIO GPIO3
// #define BUTTON_CLK kCLOCK_GateGPIO1 #define BUTTON_CLK kCLOCK_GateGPIO3
// #define BUTTON_PIN 7 //sw3 #define BUTTON_PIN 29 //sw2
// #define BUTTON_STATE_ACTIVE 0 #define BUTTON_STATE_ACTIVE 0
// UART // UART
#define UART_DEV LPUART0 #define UART_DEV LPUART0

View File

@@ -105,9 +105,6 @@ void board_init(void)
/* PORT0 PIN22 configured as USB0_VBUS */ /* PORT0 PIN22 configured as USB0_VBUS */
#if PORT_SUPPORT_DEVICE(0) #if PORT_SUPPORT_DEVICE(0)
// Port0 is Full Speed
//CLOCK_EnableClock(kCLOCK_Usb0Ram);
//CLOCK_EnableClock(kCLOCK_Usb0Fs);
RESET_PeripheralReset(kUSB0_RST_SHIFT_RSTn); RESET_PeripheralReset(kUSB0_RST_SHIFT_RSTn);
CLOCK_EnableUsbfsClock(); CLOCK_EnableUsbfsClock();
#endif #endif