From 937f7837eaae23f2f83b2ae60df7ac349aa20625 Mon Sep 17 00:00:00 2001 From: Bryan Hatasaka Date: Tue, 5 Aug 2025 11:43:19 -0600 Subject: [PATCH] Add flush() to Print for backwards compatibility --- cores/nRF5/Print.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cores/nRF5/Print.h b/cores/nRF5/Print.h index 9fc26742..ac142a0c 100644 --- a/cores/nRF5/Print.h +++ b/cores/nRF5/Print.h @@ -78,6 +78,8 @@ class Print size_t println(double, int = 2); size_t println(const Printable&); size_t println(void); + + virtual void flush() { /* Empty for backward compatibility */ } }; #endif