Followup to recent patches

- `M666` is static, not inline
- Disambiguate some stepper macros
This commit is contained in:
Scott Lahteine
2018-03-10 21:40:45 -06:00
parent 3c8781e2e9
commit 751785fc97
4 changed files with 24 additions and 23 deletions

View File

@ -67,7 +67,7 @@
* M666: Set Dual Endstops offsets for X, Y, and/or Z.
* With no parameters report current offsets.
*/
inline void GcodeSuite::M666() {
void GcodeSuite::M666() {
bool report = true;
#if ENABLED(X_DUAL_ENDSTOPS)
if (parser.seen('X')) {

View File

@ -44,7 +44,7 @@ void GcodeSuite::M105() {
port
#endif
);
#else // !HAS_TEMP_HOTEND && !HAS_TEMP_BED
#else // !HAS_TEMP_SENSOR
SERIAL_ERROR_START_P(port);
SERIAL_ERRORLNPGM_P(port, MSG_ERR_NO_THERMISTORS);
#endif