From 84b06972fc5dbaac16e8bd86b9ee4442813331a9 Mon Sep 17 00:00:00 2001 From: Filip Ayazi Date: Tue, 25 Oct 2022 01:25:38 +0100 Subject: [PATCH] Constant current driver fixes --- src/boards.h | 21 ++++- src/config.h | 2 +- src/modules/illumination/illumination.cpp | 97 +++++++++++++++-------- src/modules/illumination/illumination.h | 5 +- 4 files changed, 84 insertions(+), 41 deletions(-) diff --git a/src/boards.h b/src/boards.h index 4482bd0..ef93337 100644 --- a/src/boards.h +++ b/src/boards.h @@ -16,6 +16,9 @@ #endif #endif +//TODO: deal with default values better +//Kconfig is probably too complicated +//maybe having a series of #ifndef