summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-09-23 20:58:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-09-23 20:58:49 +0200
commit102e6f03e9d1ab9dc213b021b1dbe81d7fda332a (patch)
treef59b728899becbf13182d16d4181852be6dd006e /include
parentd79ef3a1a1e85bb411a7458367c988f51e31e48f (diff)
lora32u4ii: stdout: Add pprint for PSTR (pgmspace strings)
Diffstat (limited to 'include')
-rw-r--r--include/arch/lora32u4ii/driver/stdout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/arch/lora32u4ii/driver/stdout.h b/include/arch/lora32u4ii/driver/stdout.h
index 2eb669d..e9f0411 100644
--- a/include/arch/lora32u4ii/driver/stdout.h
+++ b/include/arch/lora32u4ii/driver/stdout.h
@@ -1,6 +1,7 @@
#ifndef STANDARDOUTPUT_H
#define STANDARDOUTPUT_H
+#include <avr/pgmspace.h>
#include "object/outputstream.h"
class StandardOutput : public OutputStream {
@@ -12,6 +13,7 @@ class StandardOutput : public OutputStream {
void setup();
virtual void put(char c) override;
+ OutputStream & pprint(const char *text);
};
extern StandardOutput kout;