Re-initialize servo out when needed

This commit is contained in:
Benjamin Vedder 2022-11-03 15:46:33 +01:00
parent ad9775f6e4
commit e99ae0562b
2 changed files with 5 additions and 1 deletions

View File

@ -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) {

View File

@ -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"