Fysetc S6 pins / LCD updates (#16830)
This commit is contained in:
@ -37,6 +37,10 @@
|
||||
#ifdef __MARLIN_FIRMWARE__
|
||||
// __MARLIN_FIRMWARE__ exists when compiled within Marlin.
|
||||
#include "pin_mappings.h"
|
||||
#undef max
|
||||
#define max(a,b) ((a)>(b)?(a):(b))
|
||||
#undef min
|
||||
#define min(a,b) ((a)<(b)?(a):(b))
|
||||
#else
|
||||
namespace UI {
|
||||
static inline uint32_t safe_millis() {return millis();};
|
||||
|
@ -27,6 +27,15 @@
|
||||
* without adding new pin definitions to the board.
|
||||
*/
|
||||
|
||||
#ifdef S6_TFT_PINMAP
|
||||
#ifndef __MARLIN_FIRMWARE__
|
||||
#error "This pin mapping requires Marlin."
|
||||
#endif
|
||||
|
||||
#define CLCD_SPI_CS PC7
|
||||
#define CLCD_MOD_RESET PC6
|
||||
#endif
|
||||
|
||||
#ifdef CR10_TFT_PINMAP
|
||||
#ifndef __MARLIN_FIRMWARE__
|
||||
#error "This pin mapping requires Marlin."
|
||||
|
Reference in New Issue
Block a user