Print an error on unknown D-codes
This follows the same convention of M/G codes, so that the user knowns that the D-code has been either handled or ignored.
This commit is contained in:
parent
d853c19a21
commit
1888c783cb
@ -9521,6 +9521,9 @@ Sigma_Exit:
|
|||||||
#endif //FILAMENT_SENSOR
|
#endif //FILAMENT_SENSOR
|
||||||
|
|
||||||
#endif //DEBUG_DCODES
|
#endif //DEBUG_DCODES
|
||||||
|
|
||||||
|
default:
|
||||||
|
printf_P(PSTR("Unknown D code: %s\n"), cmdbuffer + bufindr + CMDHDRSIZE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user