summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-06-25 10:51:46 -0700
committerGitHub <noreply@github.com>2020-06-25 10:51:46 -0700
commitbc4c74517a261e2eb80a1829877d4ad3b29763d2 (patch)
tree7d7a8ef4b545448846142631ab6c3ead3acfc176 /py/circuitpy_mpconfig.h
parent07eb7d653cad9e1381dce4ab544b9bd0012b3a4b (diff)
parent66d031fc1890381cbdf14b1abce3436bc7d23abb (diff)
Merge pull request #3034 from jepler/terminology-cleanup6.0.0-alpha.0
M/S Terminology cleanup
Diffstat (limited to 'py/circuitpy_mpconfig.h')
-rw-r--r--py/circuitpy_mpconfig.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 4b054b83c..c92cb1b66 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -408,11 +408,11 @@ extern const struct _mp_obj_module_t gnss_module;
#define GNSS_MODULE
#endif
-#if CIRCUITPY_I2CSLAVE
-extern const struct _mp_obj_module_t i2cslave_module;
-#define I2CSLAVE_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_i2cslave), (mp_obj_t)&i2cslave_module },
+#if CIRCUITPY_I2CPERIPHERAL
+extern const struct _mp_obj_module_t i2cperipheral_module;
+#define I2CPERIPHERAL_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_i2cperipheral), (mp_obj_t)&i2cperipheral_module },
#else
-#define I2CSLAVE_MODULE
+#define I2CPERIPHERAL_MODULE
#endif
#if CIRCUITPY_MATH
@@ -690,7 +690,7 @@ extern const struct _mp_obj_module_t watchdog_module;
GAMEPAD_MODULE \
GAMEPADSHIFT_MODULE \
GNSS_MODULE \
- I2CSLAVE_MODULE \
+ I2CPERIPHERAL_MODULE \
JSON_MODULE \
MATH_MODULE \
_EVE_MODULE \