diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-05-18 16:46:41 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-05-18 16:46:41 -0700 |
| commit | cf690bd390bf5e970bdc0712063c8ea32d3b6b5a (patch) | |
| tree | 6f6e8d7a98d65ce54322c06c7d5d665f001bcb90 /shared-module/vectorio/Polygon.h | |
| parent | a57da6b808b53e1a23aff327710a0e365ecc6acc (diff) | |
| parent | 32617d5f2fb051d3adf55bf0f4f00f10cc5d74aa (diff) | |
Merge remote-tracking branch 'adafruit/master' into esp32s2
Diffstat (limited to 'shared-module/vectorio/Polygon.h')
| -rw-r--r-- | shared-module/vectorio/Polygon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-module/vectorio/Polygon.h b/shared-module/vectorio/Polygon.h index 1aef854a7..70de9036d 100644 --- a/shared-module/vectorio/Polygon.h +++ b/shared-module/vectorio/Polygon.h @@ -8,8 +8,9 @@ typedef struct { mp_obj_base_t base; - // A micropython List[ x, y, ... ] - mp_obj_t points_list; + // An int array[ x, y, ... ] + int *points_list; + size_t len; vectorio_event_t on_dirty; } vectorio_polygon_t; |
