mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-02 07:00:42 +00:00
🐛 Fix FYSETC Cheetah v2.0 Servo/Probe pins (#24635)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
d0bdb9c281
commit
980fba810d
2 changed files with 15 additions and 13 deletions
|
@ -43,22 +43,24 @@
|
||||||
#define FLASH_ADDRESS_START 0x8004000
|
#define FLASH_ADDRESS_START 0x8004000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
#define SERVO0_PIN PB1 // BL-TOUCH/PWM
|
||||||
// Z Probe
|
|
||||||
//
|
|
||||||
#if ENABLED(BLTOUCH)
|
|
||||||
#error "You need to set jumper to 5v for Bltouch, then comment out this line to proceed."
|
|
||||||
#define SERVO0_PIN PA0
|
|
||||||
#elif !defined(Z_MIN_PROBE_PIN)
|
|
||||||
#define Z_MIN_PROBE_PIN PA0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Limit Switches
|
// Limit Switches
|
||||||
//
|
//
|
||||||
#define X_STOP_PIN PB4
|
#define X_STOP_PIN PB4 // X-MIN
|
||||||
#define Y_STOP_PIN PC8
|
#define Y_STOP_PIN PC8 // Y-MIN
|
||||||
#define Z_STOP_PIN PB1
|
#define Z_STOP_PIN PA0 // Z-MIN
|
||||||
|
|
||||||
|
//
|
||||||
|
// Z Probe
|
||||||
|
//
|
||||||
|
#if ENABLED(BLTOUCH)
|
||||||
|
#error "You need to set jumper to 5V for BLTouch, then comment out this line to proceed."
|
||||||
|
#endif
|
||||||
|
#ifndef Z_MIN_PROBE_PIN
|
||||||
|
#define Z_MIN_PROBE_PIN PB1 // BL-TOUCH/PWM repurposed
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Filament runout
|
// Filament runout
|
||||||
|
|
|
@ -95,7 +95,7 @@ extern "C" {
|
||||||
|
|
||||||
// Timer Definitions
|
// Timer Definitions
|
||||||
#define TIMER_TONE TIM2 // TIMER_TONE must be defined in this file
|
#define TIMER_TONE TIM2 // TIMER_TONE must be defined in this file
|
||||||
#define TIMER_SERVO TIM5 // TIMER_SERVO must be defined in this file
|
#define TIMER_SERVO TIM3 // TIMER_SERVO must be defined in this file
|
||||||
#define TIMER_SERIAL TIM11 // TIMER_SERIAL must be defined in this file
|
#define TIMER_SERIAL TIM11 // TIMER_SERIAL must be defined in this file
|
||||||
|
|
||||||
// UART Definitions
|
// UART Definitions
|
||||||
|
|
Loading…
Reference in a new issue