Fix compiler warnings

This commit is contained in:
Scott Lahteine
2017-12-25 08:48:54 -06:00
parent 95b82ae5e3
commit 4ef965cc40
3 changed files with 4 additions and 4 deletions

View File

@ -609,7 +609,7 @@
if (parser.seen('L')) { // Load Current Mesh Data
g29_storage_slot = parser.has_value() ? parser.value_int() : storage_slot;
uint16_t a = settings.calc_num_meshes();
int16_t a = settings.calc_num_meshes();
if (!a) {
SERIAL_PROTOCOLLNPGM("?EEPROM storage not available.");
@ -651,7 +651,7 @@
return;
}
uint16_t a = settings.calc_num_meshes();
int16_t a = settings.calc_num_meshes();
if (!a) {
SERIAL_PROTOCOLLNPGM("?EEPROM storage not available.");