1
0
Fork 0

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:
tmk 2013-05-20 22:42:29 +09:00
parent adbd15d5bd
commit 796defa86c
8 changed files with 15 additions and 16 deletions

View file

@ -209,7 +209,7 @@ static const uint16_t PROGMEM fn_actions[] = {
/*
* Macro definition
*/
const prog_macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
keyevent_t event = record->event;
tap_t tap = record->tap;