diff options
author | tmk <nobody@nowhere> | 2013-05-20 22:42:29 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-05-21 10:16:55 +0900 |
commit | 796defa86c3e8a756b66937f5c010640eeac2d13 (patch) | |
tree | 57a2ee4e96291eb23fbfb4d7553b2ee12430001a /common/action_macro.c | |
parent | adbd15d5bdbd5f28657d0fa0ecdcf25768b4267d (diff) | |
download | qmk_firmware-796defa86c3e8a756b66937f5c010640eeac2d13.tar.gz qmk_firmware-796defa86c3e8a756b66937f5c010640eeac2d13.zip |
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
Diffstat (limited to 'common/action_macro.c')
-rw-r--r-- | common/action_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/action_macro.c b/common/action_macro.c index 71d1506f5c..29cfd23df1 100644 --- a/common/action_macro.c +++ b/common/action_macro.c @@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef NO_ACTION_MACRO #define MACRO_READ() (macro = pgm_read_byte(macro_p++)) -void action_macro_play(const prog_macro_t *macro_p) +void action_macro_play(const macro_t *macro_p) { macro_t macro = END; uint8_t interval = 0; |