summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-03-26 03:10:16 +0000
committerQMK Bot <hello@qmk.fm>2020-03-26 03:10:16 +0000
commit9fbf17b90e9e9bf23797ef524d9dabaa2adfbad5 (patch)
tree142467b7970e28aaa4a2f5a963aebfaa5960bb2e /tmk_core
parent96bfce70009ac15f21e440fd3894e6c11e1b7615 (diff)
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/arm_atsam/main_arm_atsam.c4
-rw-r--r--tmk_core/protocol/arm_atsam/usb/main_usb.c6
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 93f34d9c3b..e4e79d3510 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 24630d9492..3809e1fd02 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