File tree Expand file tree Collapse file tree 10 files changed +13
-12
lines changed Expand file tree Collapse file tree 10 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 2626
2727#include "boards/board.h"
2828
29- void board_init (void )
30- {
29+ void board_init (void ) {
3130}
3231
3332bool board_requests_safe_mode (void ) {
Original file line number Diff line number Diff line change 6868
6969#include "tusb.h"
7070
71- #ifdef CIRCUITPY_GAMEPAD_TICKS
71+ #if CIRCUITPY_GAMEPAD
7272#include "shared-module/gamepad/__init__.h"
7373#endif
7474#include "shared-module/_pew/PewPew.h"
@@ -223,10 +223,12 @@ void reset_port(void) {
223223
224224 reset_gclks ();
225225
226- #ifdef CIRCUITPY_GAMEPAD_TICKS
226+ #if CIRCUITPY_GAMEPAD
227227 gamepad_reset ();
228228#endif
229+ #ifdef CIRCUITPY_PEW
229230 pew_reset ();
231+ #endif
230232
231233 reset_event_system ();
232234
Original file line number Diff line number Diff line change @@ -528,6 +528,7 @@ extern const struct _mp_obj_module_t pew_module;
528528 NETWORK_MODULE \
529529 SOCKET_MODULE \
530530 WIZNET_MODULE \
531+ PEW_MODULE \
531532 PIXELBUF_MODULE \
532533 PULSEIO_MODULE \
533534 RANDOM_MODULE \
@@ -543,7 +544,6 @@ extern const struct _mp_obj_module_t pew_module;
543544 USB_HID_MODULE \
544545 USB_MIDI_MODULE \
545546 USTACK_MODULE \
546- PEW_MODULE \
547547
548548// If weak links are enabled, just include strong links in the main list of modules,
549549// and also include the underscore alternate names.
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 *
44 * The MIT License (MIT)
55 *
6- * Copyright (c) 2016 Scott Shawcroft for Adafruit Industries
6+ * Copyright (c) 2019 Radomir Dopieralski
77 *
88 * Permission is hereby granted, free of charge, to any person obtaining a copy
99 * of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments