zephyr/mphalport.h: Remove unused and unimplemented C-level pin API.

It gives compile warnings.

Signed-off-by: Damien George <damien@micropython.org>
pull/7741/head
Damien George 2021-09-02 12:40:48 +10:00
rodzic d41f6dde56
commit 1083cb2f33
1 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -33,10 +33,3 @@ static inline uint64_t mp_hal_time_ns(void) {
}
#define mp_hal_delay_us_fast(us) (mp_hal_delay_us(us))
// C-level pin API is not currently implemented
#define MP_HAL_PIN_FMT "%d"
#define mp_hal_pin_name(p) (0)
#define mp_hal_pin_od_low(p) (mp_raise_NotImplementedError("mp_hal_pin_od_low"))
#define mp_hal_pin_od_high(p) (mp_raise_NotImplementedError("mp_hal_pin_od_high"))
#define mp_hal_pin_open_drain(p) (mp_raise_NotImplementedError("mp_hal_pin_open_drain"))