Fix typo
This commit is contained in:
parent
d8d0069f97
commit
56c949b9af
1 changed files with 1 additions and 1 deletions
|
@ -1563,7 +1563,7 @@ void EEPROM_read_st(int pos, uint8_t* value, uint8_t size)
|
||||||
void st_current_init() //Initialize Digipot Motor Current
|
void st_current_init() //Initialize Digipot Motor Current
|
||||||
{
|
{
|
||||||
uint8_t SilentMode = eeprom_read_byte((uint8_t*)EEPROM_SILENT);
|
uint8_t SilentMode = eeprom_read_byte((uint8_t*)EEPROM_SILENT);
|
||||||
if (silentMode == 0xff) silentMode = SILENT_MODE_POWER;
|
if (SilentMode == 0xff) SilentMode = SILENT_MODE_POWER;
|
||||||
SilentModeMenu = SilentMode;
|
SilentModeMenu = SilentMode;
|
||||||
#ifdef MOTOR_CURRENT_PWM_XY_PIN
|
#ifdef MOTOR_CURRENT_PWM_XY_PIN
|
||||||
pinMode(MOTOR_CURRENT_PWM_XY_PIN, OUTPUT);
|
pinMode(MOTOR_CURRENT_PWM_XY_PIN, OUTPUT);
|
||||||
|
|
Loading…
Reference in a new issue