Skip to content

Commit

Permalink
clang-format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Nov 12, 2023
1 parent 4cb3d94 commit 80e1da7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/components/bluepad32/uni_hid_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ void uni_hid_device_process_controller(uni_hid_device_t* d) {
if (uni_get_platform()->on_controller_data != NULL)
uni_get_platform()->on_controller_data(d, &d->controller);
else if (uni_get_platform()->on_gamepad_data != NULL)
// Deprecated: should implement only on_controller_data
uni_get_platform()->on_gamepad_data(d, &d->controller.gamepad);

// FIXME: each backend should decide what to do with misc buttons
Expand Down
1 change: 0 additions & 1 deletion src/components/bluepad32/uni_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ limitations under the License.

// Main entry point, runs forever
int uni_main(int argc, const char** argv) {

#ifdef CONFIG_IDF_TARGET
uni_esp32_init();
#endif
Expand Down

0 comments on commit 80e1da7

Please sign in to comment.