Remove volatile from the gamepad struct

This commit is contained in:
Radomir Dopieralski 2018-05-23 21:49:20 +02:00
parent f17a235b40
commit 42e36a883b
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#include "GamePad.h"
gamepad_obj_t* volatile gamepad_singleton = NULL;
gamepad_obj_t* gamepad_singleton = NULL;
//| .. currentmodule:: gamepad
//|

View File

@ -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);