File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
libraries/Bluefruit52Lib/src/clients Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ bool BLEClientHidAdafruit::begin(void)
81
81
// set notify callback
82
82
_kbd_boot_input.setNotifyCallback (kbd_client_notify_cb);
83
83
_mse_boot_input.setNotifyCallback (mse_client_notify_cb);
84
+
85
+ return true ;
84
86
}
85
87
86
88
void BLEClientHidAdafruit::setKeyboardReportCallback (kbd_callback_t fp)
@@ -140,12 +142,12 @@ bool BLEClientHidAdafruit::keyboardPresent(void)
140
142
141
143
bool BLEClientHidAdafruit::enableKeyboard (void )
142
144
{
143
- _kbd_boot_input.enableNotify ();
145
+ return _kbd_boot_input.enableNotify ();
144
146
}
145
147
146
148
bool BLEClientHidAdafruit::disableKeyboard (void )
147
149
{
148
- _kbd_boot_input.disableNotify ();
150
+ return _kbd_boot_input.disableNotify ();
149
151
}
150
152
151
153
void BLEClientHidAdafruit::_handle_kbd_input (uint8_t * data, uint16_t len)
@@ -171,12 +173,12 @@ bool BLEClientHidAdafruit::mousePresent(void)
171
173
172
174
bool BLEClientHidAdafruit::enableMouse (void )
173
175
{
174
- _mse_boot_input.enableNotify ();
176
+ return _mse_boot_input.enableNotify ();
175
177
}
176
178
177
179
bool BLEClientHidAdafruit::disableMouse (void )
178
180
{
179
- _mse_boot_input.disableNotify ();
181
+ return _mse_boot_input.disableNotify ();
180
182
}
181
183
182
184
void BLEClientHidAdafruit::_handle_mse_input (uint8_t * data, uint16_t len)
You can’t perform that action at this time.
0 commit comments