diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
commit | 40f3c026823f8951a2fa04e9c7fc93c75bc27bec (patch) | |
tree | c9c8210654c7114f00c5234a8481d9b5fbd28ce0 /stmhal/spi.c | |
parent | 065aba587571150074ea79483ffa72c0fe6bc8c8 (diff) |
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50.
Diffstat (limited to 'stmhal/spi.c')
-rw-r--r-- | stmhal/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/spi.c b/stmhal/spi.c index 448b8696e..52f80ce29 100644 --- a/stmhal/spi.c +++ b/stmhal/spi.c @@ -314,7 +314,7 @@ STATIC mp_obj_t pyb_spi_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_arg_check_num(n_args, n_kw, 1, MP_OBJ_FUN_ARGS_MAX, true); // get SPI number - machine_int_t spi_id = mp_obj_get_int(args[0]) - 1; + mp_int_t spi_id = mp_obj_get_int(args[0]) - 1; // check SPI number if (!(0 <= spi_id && spi_id < PYB_NUM_SPI && pyb_spi_obj[spi_id].spi != NULL)) { |