瀏覽代碼

`qmk cformat` on `develop` (#9501)

Nick Brassel 5 年之前
父節點
當前提交
60e5733c48
共有 2 個文件被更改,包括 3 次插入5 次删除
  1. 1 3
      tmk_core/protocol/chibios/usb_main.c
  2. 2 2
      tmk_core/protocol/lufa/lufa.c

+ 1 - 3
tmk_core/protocol/chibios/usb_main.c

@@ -796,9 +796,7 @@ int8_t sendchar(uint8_t c) {
 }
 #endif /* CONSOLE_ENABLE */
 
-void _putchar(char character) {
-    sendchar(character);
-}
+void _putchar(char character) { sendchar(character); }
 
 #ifdef RAW_ENABLE
 void raw_hid_send(uint8_t *data, uint8_t length) {

+ 2 - 2
tmk_core/protocol/lufa/lufa.c

@@ -556,7 +556,7 @@ static void send_keyboard(report_keyboard_t *report) {
     uint8_t timeout = 255;
 
 #ifdef BLUETOOTH_ENABLE
-    uint8_t where   = where_to_send();
+    uint8_t where = where_to_send();
 
     if (where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) {
 #    ifdef MODULE_ADAFRUIT_BLE
@@ -621,7 +621,7 @@ static void send_mouse(report_mouse_t *report) {
     uint8_t timeout = 255;
 
 #    ifdef BLUETOOTH_ENABLE
-    uint8_t where   = where_to_send();
+    uint8_t where = where_to_send();
 
     if (where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) {
 #        ifdef MODULE_ADAFRUIT_BLE