General cleanup of config-store, reset_bed_level

This commit is contained in:
Scott Lahteine
2017-12-25 03:32:31 -06:00
parent 2925852244
commit 4b49ea1e92
6 changed files with 61 additions and 65 deletions

View File

@ -54,7 +54,7 @@ void GcodeSuite::M420() {
#if ENABLED(EEPROM_SETTINGS)
const int8_t storage_slot = parser.has_value() ? parser.value_int() : ubl.storage_slot;
const int16_t a = settings.calc_num_meshes();
const uint16_t a = settings.calc_num_meshes();
if (!a) {
SERIAL_PROTOCOLLNPGM("?EEPROM storage not available.");