From 2b2bf556acf38c033f5b479ef6dfc41dd6d30c52 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Thu, 13 May 2021 17:03:32 +0200 Subject: [PATCH] Fix compilation --- radio/src/gui/colorlcd/layouts/topbar_impl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/gui/colorlcd/layouts/topbar_impl.cpp b/radio/src/gui/colorlcd/layouts/topbar_impl.cpp index e1bfeb279..70cbd56dc 100644 --- a/radio/src/gui/colorlcd/layouts/topbar_impl.cpp +++ b/radio/src/gui/colorlcd/layouts/topbar_impl.cpp @@ -194,8 +194,10 @@ void TopbarImpl::checkEvents() } } +#if defined(HARDWARE_TOUCH) bool TopbarImpl::onTouchEnd(coord_t x, coord_t y) { // disable touch interaction with topbar widgets return false; } +#endif