Browse Source

Use 'false'

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
committed by Scott Lahteine
parent
commit
6054052248
  1. 2
      Marlin/src/HAL/LPC1768/HAL.cpp
  2. 4
      Marlin/src/HAL/LPC1768/main.cpp

2
Marlin/src/HAL/LPC1768/HAL.cpp

@ -64,7 +64,7 @@ int16_t PARSED_PIN_INDEX(const char code, const int16_t dval) {
}
void flashFirmware(const int16_t) {
USB_Connect(FALSE); // USB clear connection
USB_Connect(false); // USB clear connection
delay(2000); // Give OS time to notice
NVIC_SystemReset();
}

4
Marlin/src/HAL/LPC1768/main.cpp

@ -119,9 +119,9 @@ void HAL_init() {
#endif
USB_Init(); // USB Initialization
USB_Connect(FALSE); // USB clear connection
USB_Connect(false); // USB clear connection
delay(1000); // Give OS time to notice
USB_Connect(TRUE);
USB_Connect(true);
#if HAS_SD_HOST_DRIVE
MSC_SD_Init(0); // Enable USB SD card access

Loading…
Cancel
Save