application: reduce default motor speed for safety

This commit is contained in:
King Kévin 2020-01-10 11:05:27 +01:00
parent 363179e837
commit 882ea71c4e
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ volatile bool rtc_internal_tick_flag = false; /**< flag set when internal RTC ti
volatile uint32_t tacho_count = 0; /**< tachometer edge count */
bool tacho_display = false; /**< if the current tachometer count should be displayed */
#define TACHO_PIN PB11 /**< tachometer input on SWIM pin, pulled up to 3V3 by 680R */
#define TACHO_TARGET_DEFAULT 40 /**< the default target tachometer count */
#define TACHO_TARGET_DEFAULT 20 /**< the default target tachometer count (slow for safety) */
uint32_t tacho_target = TACHO_TARGET_DEFAULT; /**< the target tachometer count (switch SSR on when below, off when above) */
#define SSR_PIN PB14 /**< pin to control the SSR (active low, open drain to 5V) */