summaryrefslogtreecommitdiff
path: root/ports/zephyr/modmachine.h
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-10-06 20:28:31 +0200
committerDamien George <damien@micropython.org>2022-10-22 12:58:21 +1100
commit5e90ec233139e90b5dc022932b15b3bc9fd7865c (patch)
tree4840566ded1dcb61b9bce42ad0f856ed6f0a6f8a /ports/zephyr/modmachine.h
parentbfa6f34404374bb7c7d892ca6cb32175e8dd19f6 (diff)
zephyr: Rename machine I2C and SPI types consistently across ports.
This renames: - machine_hard_i2c_type -> machine_i2c_type - machine_hard_spi_type -> machine_spi_type
Diffstat (limited to 'ports/zephyr/modmachine.h')
-rw-r--r--ports/zephyr/modmachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/zephyr/modmachine.h b/ports/zephyr/modmachine.h
index a3cdd2b30..a605ada0d 100644
--- a/ports/zephyr/modmachine.h
+++ b/ports/zephyr/modmachine.h
@@ -4,8 +4,8 @@
#include "py/obj.h"
extern const mp_obj_type_t machine_pin_type;
-extern const mp_obj_type_t machine_hard_i2c_type;
-extern const mp_obj_type_t machine_hard_spi_type;
+extern const mp_obj_type_t machine_i2c_type;
+extern const mp_obj_type_t machine_spi_type;
extern const mp_obj_type_t machine_uart_type;
MP_DECLARE_CONST_FUN_OBJ_0(machine_info_obj);