summaryrefslogtreecommitdiff
path: root/ucoo/intf
diff options
context:
space:
mode:
authorNicolas Schodet2015-08-12 09:54:12 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit53615d468132616a1254950c67926df53bf2b7ba (patch)
treeb71954883d2a3f77a9e613e8425a1bd1a493b9b9 /ucoo/intf
parent6f9f99c05a436de2241aaeda63aca237c071800d (diff)
ucoo/dev/lcd: add dummy LCD
Diffstat (limited to 'ucoo/intf')
-rw-r--r--ucoo/intf/lcd.cc1
-rw-r--r--ucoo/intf/lcd.hh2
2 files changed, 1 insertions, 2 deletions
diff --git a/ucoo/intf/lcd.cc b/ucoo/intf/lcd.cc
index ab85630..8c78248 100644
--- a/ucoo/intf/lcd.cc
+++ b/ucoo/intf/lcd.cc
@@ -27,7 +27,6 @@
namespace ucoo {
-/// Helper for formated output.
void
Lcd::printf (const char *fmt, ...)
{
diff --git a/ucoo/intf/lcd.hh b/ucoo/intf/lcd.hh
index 6ad8074..d8cc7aa 100644
--- a/ucoo/intf/lcd.hh
+++ b/ucoo/intf/lcd.hh
@@ -42,7 +42,7 @@ class Lcd
/// Get number of columns.
virtual int get_columns () const = 0;
/// Helper for formated output.
- void printf (const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+ virtual void printf (const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
protected:
/// Default constructor.
Lcd () { }