diff options
author | QMK Bot <hello@qmk.fm> | 2020-03-26 03:10:16 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-03-26 03:10:16 +0000 |
commit | 9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5 (patch) | |
tree | 142467b7970e28aaa4a2f5a963aebfaa5960bb2e | |
parent | 96bfce70009ac15f21e440fd3894e6c11e1b7615 (diff) | |
download | qmk_firmware-9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5.tar.gz qmk_firmware-9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5.zip |
format code according to conventions [skip ci]
-rw-r--r-- | tmk_core/protocol/arm_atsam/main_arm_atsam.c | 4 | ||||
-rw-r--r-- | tmk_core/protocol/arm_atsam/usb/main_usb.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/tmk_core/protocol/arm_atsam/main_arm_atsam.c b/tmk_core/protocol/arm_atsam/main_arm_atsam.c index 93f34d9c3..e4e79d351 100644 --- a/tmk_core/protocol/arm_atsam/main_arm_atsam.c +++ b/tmk_core/protocol/arm_atsam/main_arm_atsam.c | |||
@@ -207,9 +207,7 @@ void main_subtask_usb_extra_device(void) { | |||
207 | } | 207 | } |
208 | 208 | ||
209 | #ifdef RAW_ENABLE | 209 | #ifdef RAW_ENABLE |
210 | void main_subtask_raw(void) { | 210 | void main_subtask_raw(void) { udi_hid_raw_receive_report(); } |
211 | udi_hid_raw_receive_report(); | ||
212 | } | ||
213 | #endif | 211 | #endif |
214 | 212 | ||
215 | void main_subtasks(void) { | 213 | void main_subtasks(void) { |
diff --git a/tmk_core/protocol/arm_atsam/usb/main_usb.c b/tmk_core/protocol/arm_atsam/usb/main_usb.c index 24630d949..3809e1fd0 100644 --- a/tmk_core/protocol/arm_atsam/usb/main_usb.c +++ b/tmk_core/protocol/arm_atsam/usb/main_usb.c | |||
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | #include "conf_usb.h" | 19 | #include "conf_usb.h" |
20 | #include "udd.h" | 20 | #include "udd.h" |
21 | #ifdef RAW | 21 | #ifdef RAW |
22 | #include "raw_hid.h" | 22 | # include "raw_hid.h" |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | uint8_t keyboard_protocol = 1; | 25 | uint8_t keyboard_protocol = 1; |
@@ -93,7 +93,5 @@ bool main_raw_enable(void) { | |||
93 | 93 | ||
94 | void main_raw_disable(void) { main_b_raw_enable = false; } | 94 | void main_raw_disable(void) { main_b_raw_enable = false; } |
95 | 95 | ||
96 | void main_raw_receive(uint8_t *buffer, uint8_t len) { | 96 | void main_raw_receive(uint8_t *buffer, uint8_t len) { raw_hid_receive(buffer, len); } |
97 | raw_hid_receive(buffer, len); | ||
98 | } | ||
99 | #endif | 97 | #endif |