Skip to content

Instantly share code, notes, and snippets.

View Habbie's full-sized avatar

Peter van Dijk Habbie

View GitHub Profile
Build started at 2024-10-05T13:56:52.389485
Main binary: /usr/bin/python3
Build Options: -Dbuildtype=release -Dlvgl-driver=fbdev -Dprefer_static=True
Python system: Linux
The Meson build system
Version: 1.5.2
Source dir: /home/runner/work/voorkant-core/voorkant-core
Build dir: /home/runner/work/voorkant-core/voorkant-core/build-armel
Build type: native build
Project name: voorkant
diff --git a/bitflipper.sh b/bitflipper.sh
index d243420..eb2f6b9 100755
--- a/bitflipper.sh
+++ b/bitflipper.sh
@@ -51,19 +51,19 @@ then
else
MTR_INTERFACE=""
fi
-echo "Executing mtr -4Tzbw ${MTR_INTERFACE} ${TARGET}"
-mtr -4Tzbw ${MTR_INTERFACE} ${TARGET} | tee -a $REPORT
newServer('9.9.9.9')
pc = newPacketCache(10000, {maxTTL=86400, minTTL=0, temporaryFailureTTL=60, staleTTL=60, dontAge=false})
getPool(""):setCache(pc)
function randomdelay()
local d = math.random() * 100
print("delaying", d, "ms")
return DNSResponseAction.Delay, d
end
diff --git a/src/front-lvgl.cpp b/src/front-lvgl.cpp
index 241490d..8422ae5 100644
--- a/src/front-lvgl.cpp
+++ b/src/front-lvgl.cpp
@@ -4,6 +4,12 @@
std::mutex g_lvgl_updatelock;
+template<typename UIType>
+void addElement(std::vector<std::unique_ptr<UIEntity>> &_uielements, std::shared_ptr<HAEntity> _entity, lv_obj_t* _contRow) {
diff --git a/src/front-lvgl.cpp b/src/front-lvgl.cpp
index 241490d..8422ae5 100644
--- a/src/front-lvgl.cpp
+++ b/src/front-lvgl.cpp
@@ -4,6 +4,12 @@
std::mutex g_lvgl_updatelock;
+template<typename UIType>
+void addElement(std::vector<std::unique_ptr<UIEntity>> &_uielements, std::shared_ptr<HAEntity> _entity, lv_obj_t* _contRow) {
diff --git a/src/uicomponents/imgs/white24.c b/src/uicomponents/imgs/white24.c
index 91f9392..13ae4cc 100644
--- a/src/uicomponents/imgs/white24.c
+++ b/src/uicomponents/imgs/white24.c
@@ -6947,16 +6947,16 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_WHITE uin
#endif
};
-const lv_img_header_t G_WHITE24HEADER = {
- .cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
diff --git a/WebFrontends.md b/WebFrontends.md
index ab44359..bba4b17 100644
--- a/WebFrontends.md
+++ b/WebFrontends.md
@@ -2,22 +2,22 @@
* Note: These are strongly preferred, at least when using DNSSEC, because they should ensure the correctness of the NSEC or NSEC3 chains of the signed zones as nodes are added or removed.
-| Project | Language | Health |
-| ------- | -------- | -------|
diff --git a/src/HAEntity.cpp b/src/HAEntity.cpp
index 8656cc5..e4ebb5e 100644
--- a/src/HAEntity.cpp
+++ b/src/HAEntity.cpp
@@ -82,8 +82,11 @@ void HAEntity::detach(IObserver* observer)
observers.erase(observer);
}
+extern std::mutex LVlock;
+
diff --git a/src/HAEntity.cpp b/src/HAEntity.cpp
index 8656cc5..e4ebb5e 100644
--- a/src/HAEntity.cpp
+++ b/src/HAEntity.cpp
@@ -82,8 +82,11 @@ void HAEntity::detach(IObserver* observer)
observers.erase(observer);
}
+extern std::mutex LVlock;
+
{
"toggle": {
"description": "Toggles one or more lights, from on to off, or, off to on, based on their current state.",
"fields": {
"brightness": {
"advanced": true,
"description": "Number indicating brightness, where 0 turns the light off, 1 is the minimum brightness, and 255 is the maximum brightness.",
"filter": {
"attribute": {
"supported_color_modes": [