Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Repetier Firmware/Repetier/Printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,12 @@ void Printer::setup()
Extruder::initExtruder();
// sets autoleveling in eeprom init
EEPROM::init(); // Read settings from eeprom if wanted
for(uint8_t i = 0; i < E_AXIS_ARRAY; i++)
for(uint8_t i = 0; i < sizeof(currentPositionSteps)/sizeof(currentPositionSteps[0]); i++)
{
currentPositionSteps[i] = 0;
}
for(uint8_t i = 0; i < sizeof(currentPosition)/sizeof(currentPosition[0]); i++)
{
currentPosition[i] = 0.0;
}
//setAutolevelActive(false); // fixme delete me
Expand Down
8 changes: 8 additions & 0 deletions Repetier Firmware/Repetier/uilang.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

*/

#ifndef UI_LANG_H
#define UI_LANG_H

// Include Configuration.h in order to load the correct language.
#include "Configuration.h"

#if !defined(UI_DISPLAY_CHARSET) || UI_DISPLAY_CHARSET>3
#define UI_DISPLAY_CHARSET 1
#endif
Expand Down Expand Up @@ -1798,3 +1804,5 @@
#define UI_TEXT_CALIBRATING_BED "Calibrating","Bed Level Matrix","","Please Wait"

#endif

#endif