summaryrefslogtreecommitdiff
path: root/shared-bindings
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-bindings
parent0e03a321e4c4fba6c5d700bfef830c6196aec106 (diff)
Include cleanup and style tweaks
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/gamepad/GamePad.c7
-rw-r--r--shared-bindings/gamepadshift/GamePadShift.c2
2 files changed, 3 insertions, 6 deletions
diff --git a/shared-bindings/gamepad/GamePad.c b/shared-bindings/gamepad/GamePad.c
index c80aa7f7c..c342cbbf9 100644
--- a/shared-bindings/gamepad/GamePad.c
+++ b/shared-bindings/gamepad/GamePad.c
@@ -23,17 +23,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#include "shared-bindings/gamepad/GamePad.h"
+
#include "py/obj.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "py/gc.h"
#include "py/mpstate.h"
-#include "shared-module/gamepad/__init__.h"
-#include "shared-module/gamepad/GamePad.h"
+#include "shared-bindings/gamepad/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "supervisor/shared/translate.h"
-#include "GamePad.h"
-#include "__init__.h"
//| .. currentmodule:: gamepad
diff --git a/shared-bindings/gamepadshift/GamePadShift.c b/shared-bindings/gamepadshift/GamePadShift.c
index de3813b08..d6f365388 100644
--- a/shared-bindings/gamepadshift/GamePadShift.c
+++ b/shared-bindings/gamepadshift/GamePadShift.c
@@ -28,10 +28,8 @@
#include "py/mphal.h"
#include "py/gc.h"
#include "py/mpstate.h"
-#include "shared-bindings/gamepad/__init__.h"
#include "shared-bindings/gamepadshift/GamePadShift.h"
#include "shared-bindings/gamepadshift/__init__.h"
-#include "shared-module/gamepadshift/GamePadShift.h"
#include "supervisor/shared/translate.h"
//| .. currentmodule:: gamepadshift