summaryrefslogtreecommitdiff
path: root/shared-module/gamepadshift/__init__.c
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2021-03-15 13:50:49 -0500
committerGitHub <noreply@github.com>2021-03-15 13:50:49 -0500
commit05ed179e11599dd45a76dfb14ecf624d0ff96d68 (patch)
treea046c6d1f117814168150484ed1bf7840d3400d7 /shared-module/gamepadshift/__init__.c
parent3cbff45f9aac5ea2855bbc888083d356a91c80fe (diff)
parentf9b4189b4c640823dabb76de8effd2a836da2eb0 (diff)
Merge pull request #4362 from microDev1/code-formatting
Add code formatting and translations check
Diffstat (limited to 'shared-module/gamepadshift/__init__.c')
-rw-r--r--shared-module/gamepadshift/__init__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/gamepadshift/__init__.c b/shared-module/gamepadshift/__init__.c
index 47a008c50..44cf3be81 100644
--- a/shared-module/gamepadshift/__init__.c
+++ b/shared-module/gamepadshift/__init__.c
@@ -30,7 +30,7 @@
#include "shared-bindings/gamepadshift/GamePadShift.h"
void gamepadshift_tick(void) {
- void* singleton = MP_STATE_VM(gamepad_singleton);
+ void *singleton = MP_STATE_VM(gamepad_singleton);
if (singleton == NULL || !MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(singleton), &gamepadshift_type)) {
return;
}