@ -127,10 +127,6 @@ void tft_lvgl_init() {
watchdog_refresh(); // LVGL init takes time
#if MB(MKS_ROBIN_NANO)
OUT_WRITE(PB0, LOW); // HE1
#endif
// Init TFT first!
SPI_TFT.spi_init(SPI_FULL_SPEED);
SPI_TFT.LCD_init();
@ -45,3 +45,7 @@
//#define LED_PIN PB2
#include "pins_MKS_ROBIN_NANO_common.h"
#if HAS_TFT_LVGL_UI && FAN1_PIN != PB0 && HEATER_1_PIN != PB0
#define BOARD_INIT OUT_WRITE(PB0, LOW)
@ -98,15 +98,6 @@
#ifndef HEATER_0_PIN
#define HEATER_0_PIN PC3
#if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
#ifndef FAN1_PIN
#define FAN1_PIN PB0
#else
#ifndef HEATER_1_PIN
#define HEATER_1_PIN PB0
#ifndef FAN_PIN
#define FAN_PIN PB1 // FAN
@ -114,6 +105,14 @@
#define HEATER_BED_PIN PA0
#elif !defined(HEATER_1_PIN)
//
// Power Supply Control