From 008fc20599caa8c4df0dfdb80f82ac7b0d91e599 Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Sat, 28 Dec 2024 01:32:52 +0100 Subject: [PATCH] Fix OSS compile issue --- src/Website.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Website.cpp b/src/Website.cpp index 167c068..4526058 100644 --- a/src/Website.cpp +++ b/src/Website.cpp @@ -1357,5 +1357,9 @@ void YaSolR::Website::resetPID() { } bool YaSolR::Website::pidCharts() const { +#ifdef APP_MODEL_PRO return _pidView.optional().value_or(false); +#else + return false; +#endif }