From 12a6cb0fbf45b36d337575a9006236fcd1afce85 Mon Sep 17 00:00:00 2001 From: Bander Ajba Date: Mon, 27 Feb 2017 21:46:53 +0300 Subject: [PATCH] fixed temp module to allow for instance support --- nrf5/modules/machine/temp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nrf5/modules/machine/temp.c b/nrf5/modules/machine/temp.c index 01188485cd..1818784b65 100644 --- a/nrf5/modules/machine/temp.c +++ b/nrf5/modules/machine/temp.c @@ -39,10 +39,6 @@ typedef struct _machine_temp_obj_t { mp_obj_base_t base; } machine_temp_obj_t; -STATIC const machine_temp_obj_t machine_temp_obj; - -#define TEMP_BASE (NRF_TEMP_Type *)NRF_TEMP - /// \method __str__() /// 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) {