vt100: include pgmspace.h as we use PROGMEM macro
[aversive.git] / modules / ihm / vt100 / vt100.h
index c41becd..c4232c9 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef _VT100_H_
 #define _VT100_H_
 
+#include <aversive/pgmspace.h>
+
 #define vt100_bell         "\007"
 #define vt100_bs           "\010"
 #define vt100_bs_clear     "\010 \010"
@@ -72,7 +74,7 @@
 #define KEY_WRIGHT 20
 #define KEY_HELP 21
 
-extern const prog_char * vt100_commands[] PROGMEM;
+extern const char * const PROGMEM vt100_commands[];
 
 enum vt100_parser_state {
        VT100_INIT,