mirror of https://github.com/rusefi/bldc.git
Re-initialize servo out when needed
This commit is contained in:
parent
ad9775f6e4
commit
e99ae0562b
|
@ -50,6 +50,10 @@ const app_configuration* app_get_configuration(void) {
|
|||
void app_set_configuration(app_configuration *conf) {
|
||||
bool app_changed = appconf.app_to_use != conf->app_to_use;
|
||||
|
||||
if (!app_changed) {
|
||||
app_changed = appconf.servo_out_enable != conf->servo_out_enable;
|
||||
}
|
||||
|
||||
appconf = *conf;
|
||||
|
||||
if (app_changed) {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define FW_VERSION_MAJOR 6
|
||||
#define FW_VERSION_MINOR 00
|
||||
// Set to 0 for building a release and iterate during beta test builds
|
||||
#define FW_TEST_VERSION_NUMBER 71
|
||||
#define FW_TEST_VERSION_NUMBER 72
|
||||
|
||||
#include "datatypes.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue