summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-04-15 09:21:04 -0500
committerJeff Epler <jepler@gmail.com>2020-04-17 18:43:57 -0500
commita32337718d48fa83e5ebd8c7168019b4196acd0e (patch)
tree23ae7043e7f47477b95c5640b6dda0cd86078bc6 /shared-bindings
parentd1ff23e0046a6462d4939b4b8c79f10182fabf9d (diff)
Rename _protomatter -> protomatter
I originally believed that there would be a wrapper library around it, like with _pixelbuf; but this proves not to be the case, as there's too little for the library to do.
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/protomatter/Protomatter.c (renamed from shared-bindings/_protomatter/Protomatter.c)4
-rw-r--r--shared-bindings/protomatter/Protomatter.h (renamed from shared-bindings/_protomatter/Protomatter.h)2
-rw-r--r--shared-bindings/protomatter/__init__.c (renamed from shared-bindings/_protomatter/__init__.c)4
3 files changed, 5 insertions, 5 deletions
diff --git a/shared-bindings/_protomatter/Protomatter.c b/shared-bindings/protomatter/Protomatter.c
index 1efdb2c0c..cb4618634 100644
--- a/shared-bindings/_protomatter/Protomatter.c
+++ b/shared-bindings/protomatter/Protomatter.c
@@ -29,8 +29,8 @@
#include "py/runtime.h"
#include "py/objarray.h"
-#include "common-hal/_protomatter/Protomatter.h"
-#include "shared-bindings/_protomatter/Protomatter.h"
+#include "common-hal/protomatter/Protomatter.h"
+#include "shared-bindings/protomatter/Protomatter.h"
#include "shared-bindings/microcontroller/Pin.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/util.h"
diff --git a/shared-bindings/_protomatter/Protomatter.h b/shared-bindings/protomatter/Protomatter.h
index 9499da22c..4704a626f 100644
--- a/shared-bindings/_protomatter/Protomatter.h
+++ b/shared-bindings/protomatter/Protomatter.h
@@ -27,7 +27,7 @@
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_PROTOMATTER_PROTOMATTER_H
#define MICROPY_INCLUDED_SHARED_BINDINGS_PROTOMATTER_PROTOMATTER_H
-#include "shared-module/_protomatter/Protomatter.h"
+#include "shared-module/protomatter/Protomatter.h"
#include "lib/protomatter/core.h"
extern const mp_obj_type_t protomatter_Protomatter_type;
diff --git a/shared-bindings/_protomatter/__init__.c b/shared-bindings/protomatter/__init__.c
index 2281b15f1..fc429898f 100644
--- a/shared-bindings/_protomatter/__init__.c
+++ b/shared-bindings/protomatter/__init__.c
@@ -29,7 +29,7 @@
#include "py/obj.h"
#include "py/runtime.h"
-#include "shared-bindings/_protomatter/Protomatter.h"
+#include "shared-bindings/protomatter/Protomatter.h"
//| :mod:`_protomatter` --- Low-level routines for bitbanged LED matrices
//| =====================================================================
@@ -43,7 +43,7 @@
//| Protomatter
STATIC const mp_rom_map_elem_t protomatter_module_globals_table[] = {
- { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR__protomatter) },
+ { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_protomatter) },
{ MP_ROM_QSTR(MP_QSTR_Protomatter), MP_ROM_PTR(&protomatter_Protomatter_type) },
};