8000 Move the frozen pew.py into a submodule · zencuke/circuitpython@5d85d54 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d85d54

Browse files
committed
Move the froze 10000 n pew.py into a submodule
1 parent a9074f7 commit 5d85d54

File tree

5 files changed

+6
-223
lines changed

5 files changed

+6
-223
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,6 @@
9292
[submodule "tools/Tecate-bitmap-fonts"]
9393
path = tools/Tecate-bitmap-fonts
9494
url = https://github.com/Tecate/bitmap-fonts.git
95+
[submodule "frozen/pew-pewpew-standalone-10.x"]
96+
path = frozen/pew-pewpew-standalone-10.x
97+
url = https://github.com/pewpew-game/pew-pewpew-standalone-10.x.git

frozen/pew-pewpew-standalone-10.x

frozen/pewpew10/pew.py

Lines changed: 0 additions & 221 deletions
This file was deleted.

ports/atmel-samd/boards/pewpew10/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LONGINT_IMPL = NONE
1010
CHIP_VARIANT = SAMD21E18A
1111
CHIP_FAMILY = samd21
1212

13-
FROZEN_MPY_DIRS += $(TOP)/frozen/pewpew10
13+
FROZEN_MPY_DIRS += $(TOP)/frozen/pew-pewpew-standalone-10.x
1414

1515
CIRCUITPY_PEW = 1
1616
CIRCUITPY_ANALOGIO = 1

shared-bindings/_pew/PewPew.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ STATIC mp_obj_t pewpew_make_new(const mp_obj_type_t *type, size_t n_args,
7575
mp_obj_get_array(args[ARG_cols].u_obj, &cols_size, &cols);
7676

7777
if (bufinfo.len != rows_size * cols_size) {
78-
mp_raise_TypeError(translate(""));
78+
mp_raise_ValueError(translate(""));
7979
}
8080

8181
for (size_t i = 0; i < rows_size; ++i) {

0 commit comments

Comments
 (0)
0