|
|
@ -34,17 +34,18 @@ void HAL_init() {
|
|
|
|
SET_DIR_OUTPUT(LED_PIN);
|
|
|
|
SET_DIR_OUTPUT(LED_PIN);
|
|
|
|
WRITE_PIN_CLR(LED_PIN);
|
|
|
|
WRITE_PIN_CLR(LED_PIN);
|
|
|
|
#if PIN_EXISTS(LED2)
|
|
|
|
#if PIN_EXISTS(LED2)
|
|
|
|
SET_DIR_OUTPUT(LED2_PIN);
|
|
|
|
SET_DIR_OUTPUT(LED2_PIN);
|
|
|
|
WRITE_PIN_CLR(LED2_PIN);
|
|
|
|
WRITE_PIN_CLR(LED2_PIN);
|
|
|
|
#if PIN_EXISTS(LED3)
|
|
|
|
#if PIN_EXISTS(LED3)
|
|
|
|
SET_DIR_OUTPUT(LED3_PIN);
|
|
|
|
SET_DIR_OUTPUT(LED3_PIN);
|
|
|
|
WRITE_PIN_CLR(LED3_PIN);
|
|
|
|
WRITE_PIN_CLR(LED3_PIN);
|
|
|
|
#if PIN_EXISTS(LED4)
|
|
|
|
#if PIN_EXISTS(LED4)
|
|
|
|
SET_DIR_OUTPUT(LED4_PIN);
|
|
|
|
SET_DIR_OUTPUT(LED4_PIN);
|
|
|
|
WRITE_PIN_CLR(LED4_PIN);
|
|
|
|
WRITE_PIN_CLR(LED4_PIN);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Flash status LED 3 times to indicate Marlin has started booting
|
|
|
|
// Flash status LED 3 times to indicate Marlin has started booting
|
|
|
|
for (uint8_t i = 0; i < 6; ++i) {
|
|
|
|
for (uint8_t i = 0; i < 6; ++i) {
|
|
|
|
TOGGLE(LED_PIN);
|
|
|
|
TOGGLE(LED_PIN);
|
|
|
|