Remove volatile from the gamepad struct
This commit is contained in:
parent
f17a235b40
commit
42e36a883b
@ -32,7 +32,7 @@
|
||||
#include "GamePad.h"
|
||||
|
||||
|
||||
gamepad_obj_t* volatile gamepad_singleton = NULL;
|
||||
gamepad_obj_t* gamepad_singleton = NULL;
|
||||
|
||||
//| .. currentmodule:: gamepad
|
||||
//|
|
||||
|
@ -39,7 +39,7 @@ typedef struct {
|
||||
uint8_t pulls;
|
||||
} gamepad_obj_t;
|
||||
|
||||
extern gamepad_obj_t* volatile gamepad_singleton;
|
||||
extern gamepad_obj_t* gamepad_singleton;
|
||||
|
||||
void gamepad_init(size_t n_pins, const mp_obj_t* pins);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user