Skip to content

Commit

Permalink
Add SERVO, TONE timers to variant for better STEVAL_3DP001V1 support (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-the-Kuhn authored and thinkyhead committed Jan 13, 2020
1 parent 55b2af9 commit c4ffe74
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/feature/powerloss/M1000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void GcodeSuite::M1000() {
if (parser.seen('S')) {
#if HAS_LCD_MENU
ui.goto_screen(menu_job_recovery);
#elif ENABLED(EXTENSIBLE_UI)
#elif ENABLED(EXTENSIBLE_UI)
ExtUI::OnPowerLossResume();
#else
SERIAL_ECHO_MSG("Resume requires LCD.");
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/language/language_ru.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ namespace Language_ru {
PROGMEM Language_Str MSG_INFO_PROTOCOL = _UxGT("Протокол");
PROGMEM Language_Str MSG_INFO_RUNAWAY_OFF = _UxGT("Контроль темп.: Выкл");
PROGMEM Language_Str MSG_INFO_RUNAWAY_ON = _UxGT("Контроль темп.: Вкл");

PROGMEM Language_Str MSG_CASE_LIGHT = _UxGT("Подсветка корпуса");
PROGMEM Language_Str MSG_CASE_LIGHT_BRIGHTNESS = _UxGT("Яркость подсветки");
PROGMEM Language_Str MSG_EXPECTED_PRINTER = _UxGT("Неверный принтер");
Expand Down
8 changes: 8 additions & 0 deletions buildroot/share/PlatformIO/variants/STEVAL_F401VE/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ extern "C" {
#define PIN_SERIAL_RX PA10
#define PIN_SERIAL_TX PA9


// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM10

// Do not use basic timer: OC is required
#define TIMER_SERVO TIM11 //TODO: advanced-control timers don't work

/* SD detect signal */
/*
* By default, R67 is not provided, so SD card detect is not used.
Expand Down

0 comments on commit c4ffe74

Please sign in to comment.