Skip to content

Commit 937f783

Browse files
author
Bryan Hatasaka
committed
Add flush() to Print for backwards compatibility
1 parent 8d91cbb commit 937f783

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/nRF5/Print.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ class Print
7878
size_t println(double, int = 2);
7979
size_t println(const Printable&);
8080
size_t println(void);
81+
82+
virtual void flush() { /* Empty for backward compatibility */ }
8183
};
8284

8385
#endif

0 commit comments

Comments
 (0)