text fixes

This commit is contained in:
Hierophect 2019-12-23 14:55:26 -05:00
parent 21cbd5ce96
commit b49ecc52b9
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV 25
#define BOARD_NO_VBUS
#define BOARD_NO_VBUS_SENSE
// On-board flash
// #define SPI_FLASH_MOSI_PIN (&pin_PA07)

View File

@ -38,7 +38,7 @@
STATIC void init_usb_vbus_sense(void) {
#ifdef BOARD_NO_VBUS
#ifdef BOARD_NO_VBUS_SENSE
// Disable VBUS sensing
#ifdef USB_OTG_GCCFG_VBDEN
USB_OTG_FS->GCCFG &= ~USB_OTG_GCCFG_VBDEN;