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 /tmk_core/protocol/arm_atsam | |
parent | 96bfce70009ac15f21e440fd3894e6c11e1b7615 (diff) | |
download | firmware-9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5.tar.gz firmware-9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5.tar.bz2 firmware-9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5.zip |
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core/protocol/arm_atsam')
-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) { } #ifdef RAW_ENABLE -void main_subtask_raw(void) { - udi_hid_raw_receive_report(); -} +void main_subtask_raw(void) { udi_hid_raw_receive_report(); } #endif 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/>. #include "conf_usb.h" #include "udd.h" #ifdef RAW -#include "raw_hid.h" +# include "raw_hid.h" #endif uint8_t keyboard_protocol = 1; @@ -93,7 +93,5 @@ bool main_raw_enable(void) { void main_raw_disable(void) { main_b_raw_enable = false; } -void main_raw_receive(uint8_t *buffer, uint8_t len) { - raw_hid_receive(buffer, len); -} +void main_raw_receive(uint8_t *buffer, uint8_t len) { raw_hid_receive(buffer, len); } #endif |