Allow USE_GCODE_SUBCODES for debugging

This commit is contained in:
Scott Lahteine
2020-02-10 16:22:38 -06:00
parent b2328d089a
commit 0ba18848af
4 changed files with 17 additions and 15 deletions

View File

@ -35,7 +35,7 @@ void GcodeSuite::G92() {
bool sync_E = false, sync_XYZ = false;
#if USE_GCODE_SUBCODES
#if ENABLED(USE_GCODE_SUBCODES)
const uint8_t subcode_G92 = parser.subcode;
#else
constexpr uint8_t subcode_G92 = 0;