Update FYSETC S6 pins/variants (#17056)

This commit is contained in:
George Fu 2020-03-04 04:30:09 +08:00 committed by GitHub
parent efc739a880
commit a698bfdc2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,9 @@
// EEPROM Emulation // EEPROM Emulation
// //
#define FLASH_EEPROM_EMULATION #define FLASH_EEPROM_EMULATION
#if ENABLED(FLASH_EEPROM_EMULATION)
#define FLASH_EEPROM_LEVELING
#endif
//#define SRAM_EEPROM_EMULATION //#define SRAM_EEPROM_EMULATION
//#define I2C_EEPROM //#define I2C_EEPROM
#ifdef I2C_EEPROM #ifdef I2C_EEPROM
@ -65,6 +68,7 @@
// //
// Filament Sensor // Filament Sensor
// share with X_MAX_PIN
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN PA1 #define FIL_RUNOUT_PIN PA1

View File

@ -115,7 +115,7 @@ extern "C" {
#define NUM_ANALOG_FIRST 80 #define NUM_ANALOG_FIRST 80
// PWM resolution // PWM resolution
#define PWM_RESOLUTION 8 #define PWM_RESOLUTION 12
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans #define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans
#define PWM_MAX_DUTY_CYCLE 255 #define PWM_MAX_DUTY_CYCLE 255