Use 'false'
This commit is contained in:
parent
62f060a389
commit
10aaab6350
@ -64,7 +64,7 @@ int16_t PARSED_PIN_INDEX(const char code, const int16_t dval) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void flashFirmware(const int16_t) {
|
void flashFirmware(const int16_t) {
|
||||||
USB_Connect(FALSE); // USB clear connection
|
USB_Connect(false); // USB clear connection
|
||||||
delay(2000); // Give OS time to notice
|
delay(2000); // Give OS time to notice
|
||||||
NVIC_SystemReset();
|
NVIC_SystemReset();
|
||||||
}
|
}
|
||||||
|
@ -119,9 +119,9 @@ void HAL_init() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
USB_Init(); // USB Initialization
|
USB_Init(); // USB Initialization
|
||||||
USB_Connect(FALSE); // USB clear connection
|
USB_Connect(false); // USB clear connection
|
||||||
delay(1000); // Give OS time to notice
|
delay(1000); // Give OS time to notice
|
||||||
USB_Connect(TRUE);
|
USB_Connect(true);
|
||||||
|
|
||||||
#if HAS_SD_HOST_DRIVE
|
#if HAS_SD_HOST_DRIVE
|
||||||
MSC_SD_Init(0); // Enable USB SD card access
|
MSC_SD_Init(0); // Enable USB SD card access
|
||||||
|
Loading…
Reference in New Issue
Block a user