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 26
26
27
27
#include "boards/board.h"
28
28
29
- void board_init (void )
30
- {
29
+ void board_init (void ) {
31
30
}
32
31
33
32
bool board_requests_safe_mode (void ) {
Original file line number Diff line number Diff line change 68
68
69
69
#include "tusb.h"
70
70
71
- #ifdef CIRCUITPY_GAMEPAD_TICKS
71
+ #if CIRCUITPY_GAMEPAD
72
72
#include "shared-module/gamepad/__init__.h"
73
73
#endif
74
74
#include "shared-module/_pew/PewPew.h"
@@ -223,10 +223,12 @@ void reset_port(void) {
223
223
224
224
reset_gclks ();
225
225
226
- #ifdef CIRCUITPY_GAMEPAD_TICKS
226
+ #if CIRCUITPY_GAMEPAD
227
227
gamepad_reset ();
228
228
#endif
229
+ #ifdef CIRCUITPY_PEW
229
230
pew_reset ();
231
+ #endif
230
232
231
233
reset_event_system ();
232
234
Original file line number Diff line number Diff line change @@ -528,6 +528,7 @@ extern const struct _mp_obj_module_t pew_module;
528
528
NETWORK_MODULE \
529
529
SOCKET_MODULE \
530
530
WIZNET_MODULE \
531
+ PEW_MODULE \
531
532
PIXELBUF_MODULE \
532
533
PULSEIO_MODULE \
533
534
RANDOM_MODULE \
@@ -543,7 +544,6 @@ extern const struct _mp_obj_module_t pew_module;
543
544
USB_HID_MODULE \
544
545
USB_MIDI_MODULE \
545
546
USTACK_MODULE \
546
- PEW_MODULE \
547
547
548
548
// If weak links are enabled, just include strong links in the main list of modules,
549
549
// and also include the underscore alternate names.
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 3
3
*
4
4
* The MIT License (MIT)
5
5
*
6
- * Copyright (c) 2016 Scott Shawcroft for Adafruit Industries
6
+ * Copyright (c) 2019 Radomir Dopieralski
7
7
*
8
8
* Permission is hereby granted, free of charge, to any person obtaining a copy
9
9
* of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments