Clean up prj.conf and improve documentation

This commit is contained in:
Martin Jäger
2021-04-14 12:23:07 +02:00
parent 1943533360
commit 613e454fed
4 changed files with 63 additions and 56 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#if CONFIG_EXT_OLED_DISPLAY
#if CONFIG_UEXT_OLED_DISPLAY
#include <math.h>
#include <stdio.h>
@@ -178,7 +178,7 @@ void oled_thread()
DT_GPIO_FLAGS(UEXT_EN_GPIO, gpios) | GPIO_OUTPUT_ACTIVE);
#endif
oled.init(CONFIG_EXT_OLED_BRIGHTNESS);
oled.init(CONFIG_UEXT_OLED_BRIGHTNESS);
while (true) {
oled_update();
@@ -188,4 +188,4 @@ void oled_thread()
K_THREAD_DEFINE(oled_thread_id, 1024, oled_thread, NULL, NULL, NULL, 6, 0, 1000);
#endif /* CONFIG_EXT_OLED_DISPLAY */
#endif /* CONFIG_UEXT_OLED_DISPLAY */