Fix deprecated 'prog_*' typedef - Issue #34
- Remove prog_char from xpritnf - Remove prog_macro_t from acton_macro avr-libc-1.8 removed 'prog_*' typedef because the usage of the __progmem__ attribute on a type is not supported in GCC. http://www.nongnu.org/avr-libc/changes-1.8.html
This commit is contained in:
parent
adbd15d5bd
commit
796defa86c
8 changed files with 15 additions and 16 deletions
|
@ -80,7 +80,7 @@ xputc:
|
|||
;---------------------------------------------------------------------------
|
||||
; Direct ROM string output
|
||||
;
|
||||
;Prototype: void xputs (const prog_char *str // rom string to be output
|
||||
;Prototype: void xputs (const char *str_p // rom string to be output
|
||||
; );
|
||||
|
||||
.func xputs
|
||||
|
@ -179,9 +179,9 @@ xitoa:
|
|||
; Formatted string output (16/32bit version)
|
||||
;
|
||||
;Prototype:
|
||||
; void xprintf (const prog_char *format, ...);
|
||||
; void xsprintf(char*, const prog_char *format, ...);
|
||||
; void xfprintf(void(*func)(char), const prog_char *format, ...);
|
||||
; void __xprintf (const char *format_p, ...);
|
||||
; void __xsprintf(char*, const char *format_p, ...);
|
||||
; void __xfprintf(void(*func)(char), const char *format_p, ...);
|
||||
;
|
||||
|
||||
#if USE_XPRINTF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue