Logo
Explore Help
Sign In
forksand
/
qmk_firmware
1
0
Fork
You've already forked qmk_firmware
0
Code Issues Pull Requests Releases Wiki Activity
qmk_firmware/tmk_core/common/progmem.h

14 lines
284 B
Raw Normal View History Unescape Escape

Squashed 'tmk_core/' content from commit 05caacc git-subtree-dir: tmk_core git-subtree-split: 05caaccec92694bb24c8c3c3a9940b96efd4605c
10 years ago
#ifndef PROGMEM_H
#define PROGMEM_H 1
#if defined(__AVR__)
# include <avr/pgmspace.h>
Fix program mem functionality
8 years ago
#else
Squashed 'tmk_core/' content from commit 05caacc git-subtree-dir: tmk_core git-subtree-split: 05caaccec92694bb24c8c3c3a9940b96efd4605c
10 years ago
# define PROGMEM
Add missing parentheses to some important macros (#4775) * Add missing parentheses to quantum_keycodes macros * Add missing parentheses to progmem macros
6 years ago
# define pgm_read_byte(p) *((unsigned char*)(p))
# define pgm_read_word(p) *((uint16_t*)(p))
# define pgm_read_dword(p) *((uint32_t*)(p))
Squashed 'tmk_core/' content from commit 05caacc git-subtree-dir: tmk_core git-subtree-split: 05caaccec92694bb24c8c3c3a9940b96efd4605c
10 years ago
#endif
#endif
Powered by Forgejo
English
Deutsch English Español Français Italiano Latviešu Nederlands Polski Português do Brasil Suomalainen Svenska Türkçe čeština български Русский Српски 日本語 简体中文 繁體中文(台湾) 繁體中文(香港) 한국어
Licenses API