aboutsummaryrefslogtreecommitdiff
path: root/stmhal/spi.c
diff options
context:
space:
mode:
authorDamien George2014-04-20 00:38:50 +0100
committerDamien George2014-04-20 00:38:50 +0100
commit0a6e9f562fb6d6e54780565b62ffd72df3a2e7ad (patch)
tree15b86c1bfb4c6c428be0baaa190f2615ce8257cf /stmhal/spi.c
parent57e415859a149a3354ad2efb01595d7616c9b564 (diff)
stmhal: Update ExtInt to allow keyword arguments in constructor.
Diffstat (limited to 'stmhal/spi.c')
-rw-r--r--stmhal/spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/spi.c b/stmhal/spi.c
index 53785e650..44d7b4aa5 100644
--- a/stmhal/spi.c
+++ b/stmhal/spi.c
@@ -160,7 +160,6 @@ STATIC const mp_arg_parse_t pyb_spi_init_accepted_args[] = {
{ MP_QSTR_ti, MP_ARG_PARSE_KW_ONLY | MP_ARG_PARSE_BOOL, {.u_bool = false} },
{ MP_QSTR_crcpoly, MP_ARG_PARSE_KW_ONLY | MP_ARG_PARSE_OBJ, {.u_obj = mp_const_none} },
};
-
#define PYB_SPI_INIT_NUM_ARGS (sizeof(pyb_spi_init_accepted_args) / sizeof(pyb_spi_init_accepted_args[0]))
STATIC mp_obj_t pyb_spi_init_helper(const pyb_spi_obj_t *self, uint n_args, const mp_obj_t *args, mp_map_t *kw_args) {