From 1dea7fc87d3575564c5e1050ec26dd19082a1b53 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Fri, 15 Aug 2025 22:20:36 +0200 Subject: [PATCH] Update device --- Boards/CYD-JC2432W328C/Source/hal/YellowDisplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Boards/CYD-JC2432W328C/Source/hal/YellowDisplay.cpp b/Boards/CYD-JC2432W328C/Source/hal/YellowDisplay.cpp index 7e8fbb63..ed680d05 100644 --- a/Boards/CYD-JC2432W328C/Source/hal/YellowDisplay.cpp +++ b/Boards/CYD-JC2432W328C/Source/hal/YellowDisplay.cpp @@ -34,5 +34,6 @@ std::shared_ptr createDisplay() { configuration->backlightDutyFunction = driver::pwmbacklight::setBacklightDuty; - return std::make_shared(std::move(configuration)); + auto display = std::make_shared(std::move(configuration)); + return std::reinterpret_pointer_cast(display); }