From 471affa43f9d96aa7832537539806bfd5cfc397a Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 22 Sep 2021 15:09:00 -0700 Subject: [PATCH] Silence a warning due to stub methods not having return statements --- src/kaleidoscope/device/Base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kaleidoscope/device/Base.h b/src/kaleidoscope/device/Base.h index cdc4f037..8e06d253 100644 --- a/src/kaleidoscope/device/Base.h +++ b/src/kaleidoscope/device/Base.h @@ -74,8 +74,8 @@ class Base { public: NoOpSerial() {} void begin(uint32_t baud) {} - size_t print(...) {} - size_t println(...) {} + size_t print(...) { return 0; } + size_t println(...) { return 0; } int peek() { return 0; }