#include #include #if defined(__AVR__) #include #endif #include "matrix.h" #include "bootloader.h" #include "debug.h" #include "keymap.h" #include "host.h" #include "action_layer.h" #include "eeconfig.h" #include "magic.h" keymap_config_t keymap_config; /** \brief Magic * * FIXME: Needs doc */ void magic(void) { /* check signature */ if (!eeconfig_is_enabled()) { eeconfig_init(); } /* debug enable */ debug_config.raw = eeconfig_read_debug(); /* keymap config */ keymap_config.raw = eeconfig_read_keymap(); uint8_t default_layer = 0; default_layer = eeconfig_read_default_layer(); default_layer_set((layer_state_t)default_layer); } n='2'>cgit logo index : avr/qmk/firmware
[no description]
aboutsummaryrefslogtreecommitdiffstats
blob: dba805d6a54a276b5be9b77c52f4fcb03def0503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84