no functional change
[digitaldcpower] / lcd.h
diff --git a/lcd.h b/lcd.h
index 20f67cd..b7d592a 100644 (file)
--- a/lcd.h
+++ b/lcd.h
@@ -86,18 +86,11 @@ extern void lcd_puts(const char *s); /* print string on lcd (no auto linefeed) *
 /* if you hard code a string in the program then you need to decalare
 * it like: char *str =PSTR("hello world");
 * and then use lcd_puts_p(str);*/
-extern void lcd_puts_p(const prog_char *progmem_s); /* print string from program memory on lcd (no auto linefeed) */
+extern void lcd_puts_p(const char *progmem_s ); /* print string from program memory on lcd (no auto linefeed) */
+// lcd_puts_p can be used like this: lcd_puts_p(PSTR("hello"))
 extern void lcd_init(void); /* initialize the LCD. Call this once*/
 extern void lcd_reset(void);
 
-/*
-** macros for automatically storing string constant in program memory
-*/
-#ifndef P
-#define P(s) ({static const char c[] __attribute__ ((progmem)) = s;c;})
-#endif
-#define lcd_puts_P(__s)         lcd_puts_p(P(__s))
-
 
 #endif //LCD_H