Make Serial and OLED configurable via Kconfig

This commit is contained in:
Martin Jaeger
2020-01-28 12:13:54 +01:00
parent 05292c12ba
commit c04081fc8a
6 changed files with 44 additions and 24 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#include "config.h"
#ifdef OLED_ENABLED // otherwise don't compile code to reduce firmware size
#if CONFIG_EXT_OLED_DISPLAY // otherwise don't compile code to reduce firmware size
#include <math.h>
#include <stdio.h>
@@ -198,6 +198,6 @@ void ExtOled::process_1s()
oled.display();
}
#endif /* OLED_ENABLED */
#endif /* CONFIG_EXT_OLED_DISPLAY */
#endif /* UNIT_TEST */