Allow common module to compile for AVR
This commit is contained in:
parent
76ccd941c4
commit
144d3e790c
@ -1,5 +1,11 @@
|
|||||||
#include <common/keymap.h>
|
#include <common/keymap.h>
|
||||||
|
|
||||||
|
// Prevent failures to compile on AVR
|
||||||
|
//TODO: move to a driver included only on platforms needing it
|
||||||
|
#ifndef __SDCC
|
||||||
|
#define __code
|
||||||
|
#endif
|
||||||
|
|
||||||
// https://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html#ss10.3
|
// https://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html#ss10.3
|
||||||
static uint8_t __code lookup[256] = {
|
static uint8_t __code lookup[256] = {
|
||||||
0xff, 0x43, 0x41, 0x3f, 0x3d, 0x3b, 0x3c, 0x58, 0x64, 0x44, 0x42, 0x40, 0x3e, 0x0f, 0x29, 0x59,
|
0xff, 0x43, 0x41, 0x3f, 0x3d, 0x3b, 0x3c, 0x58, 0x64, 0x44, 0x42, 0x40, 0x3e, 0x0f, 0x29, 0x59,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user