aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/outputselect.c
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-08-30 11:19:03 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2019-08-30 15:01:52 -0700
commitb624f32f944acdc59dcb130674c09090c5c404cb (patch)
treebc13adbba137d122d9a2c2fb2fafcbb08ac10e25 /tmk_core/protocol/lufa/outputselect.c
parent61af76a10d00aba185b8338604171de490a13e3b (diff)
downloadqmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.tar.gz
qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.zip
clang-format changes
Diffstat (limited to 'tmk_core/protocol/lufa/outputselect.c')
-rw-r--r--tmk_core/protocol/lufa/outputselect.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/tmk_core/protocol/lufa/outputselect.c b/tmk_core/protocol/lufa/outputselect.c
index 42de80612..b115ea969 100644
--- a/tmk_core/protocol/lufa/outputselect.c
+++ b/tmk_core/protocol/lufa/outputselect.c
@@ -15,7 +15,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
15#include "lufa.h" 15#include "lufa.h"
16#include "outputselect.h" 16#include "outputselect.h"
17#ifdef MODULE_ADAFRUIT_BLE 17#ifdef MODULE_ADAFRUIT_BLE
18 #include "adafruit_ble.h" 18# include "adafruit_ble.h"
19#endif 19#endif
20 20
21uint8_t desired_output = OUTPUT_DEFAULT; 21uint8_t desired_output = OUTPUT_DEFAULT;
@@ -33,9 +33,7 @@ void set_output(uint8_t output) {
33 * 33 *
34 * FIXME: Needs doc 34 * FIXME: Needs doc
35 */ 35 */
36__attribute__((weak)) 36__attribute__((weak)) void set_output_user(uint8_t output) {}
37void set_output_user(uint8_t output) {
38}
39 37
40/** \brief Auto Detect Output 38/** \brief Auto Detect Output
41 * 39 *
@@ -53,7 +51,7 @@ uint8_t auto_detect_output(void) {
53#endif 51#endif
54 52
55#ifdef BLUETOOTH_ENABLE 53#ifdef BLUETOOTH_ENABLE
56 return OUTPUT_BLUETOOTH; // should check if BT is connected here 54 return OUTPUT_BLUETOOTH; // should check if BT is connected here
57#endif 55#endif
58 56
59 return OUTPUT_NONE; 57 return OUTPUT_NONE;
@@ -69,4 +67,3 @@ uint8_t where_to_send(void) {
69 } 67 }
70 return desired_output; 68 return desired_output;
71} 69}
72