summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-04-16 10:19:07 -0700
committerScott Shawcroft <scott@tannewt.org>2019-04-16 10:19:07 -0700
commit6132a05fd9e6fa51972f1445ee051e99b816527f (patch)
tree0aaf30a35946563ebcf0a973268c7c78552be355 /shared-module
parent0e03a321e4c4fba6c5d700bfef830c6196aec106 (diff)
Include cleanup and style tweaks
Diffstat (limited to 'shared-module')
-rw-r--r--shared-module/gamepad/GamePad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/gamepad/GamePad.h b/shared-module/gamepad/GamePad.h
index e8bfd9c6b..048fbcd2b 100644
--- a/shared-module/gamepad/GamePad.h
+++ b/shared-module/gamepad/GamePad.h
@@ -34,9 +34,9 @@
typedef struct {
mp_obj_base_t base;
digitalio_digitalinout_obj_t* pins[8];
+ volatile uint8_t last;
volatile uint8_t pressed;
uint8_t pulls;
- volatile uint8_t last;
} gamepad_obj_t;
#endif // MICROPY_INCLUDED_GAMEPAD_GAMEPAD_H