fixed temp module to allow for instance support
This commit is contained in:
parent
e52ebb095c
commit
12a6cb0fbf
@ -39,10 +39,6 @@ typedef struct _machine_temp_obj_t {
|
|||||||
mp_obj_base_t base;
|
mp_obj_base_t base;
|
||||||
} machine_temp_obj_t;
|
} machine_temp_obj_t;
|
||||||
|
|
||||||
STATIC const machine_temp_obj_t machine_temp_obj;
|
|
||||||
|
|
||||||
#define TEMP_BASE (NRF_TEMP_Type *)NRF_TEMP
|
|
||||||
|
|
||||||
/// \method __str__()
|
/// \method __str__()
|
||||||
/// Return a string describing the Temp object.
|
/// Return a string describing the Temp object.
|
||||||
STATIC void machine_temp_print(const mp_print_t *print, mp_obj_t o, mp_print_kind_t kind) {
|
STATIC void machine_temp_print(const mp_print_t *print, mp_obj_t o, mp_print_kind_t kind) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user