mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
renesas-ra/machine_pin: Remove code for unsupported Pin features.
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
This commit is contained in:
committed by
Damien George
parent
a0432ed9cb
commit
dd83f48fb2
@@ -6,19 +6,6 @@
|
||||
#include "py/mphal.h"
|
||||
#include "pin.h"
|
||||
|
||||
#if 0
|
||||
#define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \
|
||||
{ \
|
||||
{ &pin_af_type }, \
|
||||
.name = MP_QSTR_AF##af_idx##_##af_fn##af_unit, \
|
||||
.idx = (af_idx), \
|
||||
.fn = AF_FN_##af_fn, \
|
||||
.unit = (af_unit), \
|
||||
.type = AF_PIN_TYPE_##af_fn##_##af_type, \
|
||||
.af_fn = (af_ptr) \
|
||||
}
|
||||
#endif
|
||||
|
||||
#define PIN_AD(p_name, p_pin, ad_bit, ad_channel) \
|
||||
{ \
|
||||
{ &machine_pin_type }, \
|
||||
|
||||
Reference in New Issue
Block a user