driver/keyboardioHID: astyle

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
f/driver/keyboardiohid-orig
Gergely Nagy 4 years ago committed by Jesse Vincent
parent 2c4a274cb3
commit 35b1fb239c
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -26,8 +26,7 @@ THE SOFTWARE.
#include <stdint.h>
class HIDReportObserver
{
class HIDReportObserver {
public:
typedef void(*SendReportHook)(uint8_t id, const void* data,
@ -40,7 +39,9 @@ class HIDReportObserver
}
}
static SendReportHook currentHook() { return send_report_hook_; }
static SendReportHook currentHook() {
return send_report_hook_;
}
static SendReportHook resetHook(SendReportHook new_hook) {
auto previous_hook = send_report_hook_;

Loading…
Cancel
Save