Browse Source

Expose JOYSTICK_DEBUG to the general user (#19394)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
vanilla_fb_2.0.x
jahartley 4 years ago
committed by GitHub
parent
commit
da1a60aeb6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Marlin/Configuration_adv.h
  2. 2
      Marlin/src/feature/joystick.h

1
Marlin/Configuration_adv.h

@ -3339,6 +3339,7 @@
#define JOY_X_LIMITS { 5600, 8190-100, 8190+100, 10800 } // min, deadzone start, deadzone end, max #define JOY_X_LIMITS { 5600, 8190-100, 8190+100, 10800 } // min, deadzone start, deadzone end, max
#define JOY_Y_LIMITS { 5600, 8250-100, 8250+100, 11000 } #define JOY_Y_LIMITS { 5600, 8250-100, 8250+100, 11000 }
#define JOY_Z_LIMITS { 4800, 8080-100, 8080+100, 11550 } #define JOY_Z_LIMITS { 4800, 8080-100, 8080+100, 11550 }
//#define JOYSTICK_DEBUG
#endif #endif
/** /**

2
Marlin/src/feature/joystick.h

@ -30,8 +30,6 @@
#include "../core/macros.h" #include "../core/macros.h"
#include "../module/temperature.h" #include "../module/temperature.h"
//#define JOYSTICK_DEBUG
class Joystick { class Joystick {
friend class Temperature; friend class Temperature;
private: private:

Loading…
Cancel
Save