Port configuration based on Kconfig implemented

This commit is contained in:
Martin Jaeger
2020-01-06 19:16:44 +01:00
parent 7bd9bdeafd
commit 16ca793bb3
19 changed files with 158 additions and 108 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
#include <stdio.h>
#include <time.h> // for time(NULL) function
#if FEATURE_PWM_SWITCH
#if CONFIG_HAS_PWM_SWITCH
static bool _pwm_active;
@@ -244,4 +244,4 @@ float PwmSwitch::get_duty_cycle()
return pwm_signal_get_duty_cycle();
}
#endif /* FEATURE_PWM_SWITCH */
#endif /* CONFIG_HAS_PWM_SWITCH */