Skip to content

Commit

Permalink
Fix incorrect type on ubl_storage_slot (MarlinFirmware#17170)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeminiServer committed Mar 16, 2020
1 parent d205081 commit 98750ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@

#ifndef SHORT_BUILD_VERSION
#define BUILD_SUFFIX "Rel." // Release Tag
#define BUILD_VERSION "2.0.5000" // Version Info - Major.Minor.Build Build - WXYZ
#define BUILD_VERSION "2.0.5101" // Version Info - Major.Minor.Build Build - WXYZ
// W: Recent marlin release Build (Marlin 2.0.x)
// XYZ: Last own build number
#define SHORT_BUILD_VERSION BUILD_PREFIX BUILD_VERSION BUILD_SUFFIX
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/module/configuration_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1560,10 +1560,10 @@ void MarlinSettings::postprocess() {
_FIELD_TEST(planner_leveling_active);
#if ENABLED(AUTO_BED_LEVELING_UBL)
const bool &planner_leveling_active = planner.leveling_active;
const uint8_t &ubl_storage_slot = ubl.storage_slot;
const int8_t &ubl_storage_slot = ubl.storage_slot;
#else
bool planner_leveling_active;
uint8_t ubl_storage_slot;
int8_t ubl_storage_slot;
#endif
EEPROM_READ(planner_leveling_active);
EEPROM_READ(ubl_storage_slot);
Expand Down

0 comments on commit 98750ce

Please sign in to comment.