Patch PrintrboardG2 build (on spec)

This commit is contained in:
Scott Lahteine 2019-09-30 02:47:19 -05:00
parent 55b8547f04
commit a9c259c77a
3 changed files with 4 additions and 4 deletions

View file

@ -2580,9 +2580,9 @@ void Stepper::report_positions() {
#endif #endif
#else #else // PRINTRBOARD_G2
#include "../HAL/HAL_DUE/G2_PWM.h" #include HAL_PATH(../HAL, fastio/G2_PWM.h)
#endif #endif

View file

@ -126,7 +126,7 @@
#define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19 MOTOR 3 #define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19 MOTOR 3
#define MOTOR_CURRENT_PWM_E_PIN 61 // PA2 MOTOR 4 #define MOTOR_CURRENT_PWM_E_PIN 61 // PA2 MOTOR 4
//#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000} // XY Z E0, 1000 = 1000mAh #define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000} // XY Z E0, 1000 = 1000mAh
// //
// Temperature Sensors // Temperature Sensors

View file

@ -102,7 +102,7 @@
* *
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7] * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/ */
#define SERIAL_PORT 0 #define SERIAL_PORT -1
/** /**
* Select a secondary serial port on the board to use for communication with the host. * Select a secondary serial port on the board to use for communication with the host.