Browse Source

Update FYSETC S6 pins/variants (#17056)

George Fu 4 years ago
parent
commit
a698bfdc2a
No account linked to committer's email address

+ 4
- 0
Marlin/src/pins/stm32/pins_FYSETC_S6.h View File

@@ -41,6 +41,9 @@
41 41
 // EEPROM Emulation
42 42
 //
43 43
 #define FLASH_EEPROM_EMULATION
44
+#if ENABLED(FLASH_EEPROM_EMULATION)
45
+  #define FLASH_EEPROM_LEVELING
46
+#endif
44 47
 //#define SRAM_EEPROM_EMULATION
45 48
 //#define I2C_EEPROM
46 49
 #ifdef I2C_EEPROM
@@ -65,6 +68,7 @@
65 68
 
66 69
 //
67 70
 // Filament Sensor
71
+// share with X_MAX_PIN
68 72
 //
69 73
 #ifndef FIL_RUNOUT_PIN
70 74
   #define FIL_RUNOUT_PIN   PA1

+ 1
- 1
buildroot/share/PlatformIO/variants/FYSETC_S6/variant.h View File

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

Loading…
Cancel
Save