From 588c88dffff9874f59dafb848112e6c03f03c991 Mon Sep 17 00:00:00 2001 From: norbert-walter Date: Sat, 14 Mar 2026 23:08:57 +0100 Subject: [PATCH] Fix obp60task.h for new obp70 config --- lib/obp60task/obp60task.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/obp60task/obp60task.h b/lib/obp60task/obp60task.h index b4e1400..784eb30 100644 --- a/lib/obp60task/obp60task.h +++ b/lib/obp60task/obp60task.h @@ -35,13 +35,19 @@ // OBP60 Task void OBP60Task(GwApi *param); DECLARE_USERTASK_PARAM(OBP60Task, 35000); // Need 35k RAM as stack size - #ifdef HARDWARE_V21 + #if defined(BOARD_OBP60S3) && defined(HARDWARE_V21) && defined(DISPLAY_ST7796) + DECLARE_CAPABILITY(obp70,true); + #endif + #if defined(BOARD_OBP60S3) && defined(HARDWARE_V21) && !defined(DISPLAY_ST7796) DECLARE_CAPABILITY(obp60,true); #endif #ifdef BOARD_OBP40S3 DECLARE_CAPABILITY(obp40,true) #endif - #ifdef BOARD_OBP60S3 + #if defined(BOARD_OBP60S3) && defined(HARDWARE_V21) && defined(DISPLAY_ST7796) + DECLARE_STRING_CAPABILITY(HELP_URL, "https://obp60-v2-docu.readthedocs.io/en/latest/"); // Link to help pages + #endif + #if defined(BOARD_OBP60S3) && defined(HARDWARE_V21) && !defined(DISPLAY_ST7796) DECLARE_STRING_CAPABILITY(HELP_URL, "https://obp60-v2-docu.readthedocs.io/en/latest/"); // Link to help pages #endif #ifdef BOARD_OBP40S3