summaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-09-25 01:12:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-09-25 01:12:18 +0200
commit1249920a6c7094f923e77f7d2131978e19604396 (patch)
tree85396cd1895b892f321e88518df32459caef6190 /include/arch
parent8578e1ea7d078b60864b084094dbb02b6cac99c3 (diff)
arduino-nano stdout: add pprint (pgmspace string output)
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/arduino-nano/driver/stdout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/arch/arduino-nano/driver/stdout.h b/include/arch/arduino-nano/driver/stdout.h
index eaf7eac..9f23fe3 100644
--- a/include/arch/arduino-nano/driver/stdout.h
+++ b/include/arch/arduino-nano/driver/stdout.h
@@ -6,6 +6,7 @@
#ifndef STANDARDOUTPUT_H
#define STANDARDOUTPUT_H
+#include <avr/pgmspace.h>
#include "object/outputstream.h"
class StandardOutput : public OutputStream {
@@ -17,6 +18,7 @@ class StandardOutput : public OutputStream {
void setup();
virtual void put(char c) override;
+ OutputStream & pprint(const char *text);
};
extern StandardOutput kout;