summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'pressure_control/firmware/remote.c')
-rw-r--r--pressure_control/firmware/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pressure_control/firmware/remote.c b/pressure_control/firmware/remote.c
index ffa6e24..db68969 100644
--- a/pressure_control/firmware/remote.c
+++ b/pressure_control/firmware/remote.c
@@ -430,7 +430,7 @@ void print_sram(const char *str)
} while (c != '\0');
}
-void print_pgm(const prog_char *str)
+void print_pgm(const char __flash *str)
{
struct remote_message msg;
uint8_t c, i;
@@ -440,7 +440,7 @@ void print_pgm(const prog_char *str)
msg.id = MSG_LOGMESSAGE;
for (i = 0; i < sizeof(msg.logmessage.str); i++) {
- c = pgm_read_byte(str);
+ c = *str;
if (c == '\0')
break;
str++;
bues.ch cgit interface