micropython/ports/esp32/boards/pins_prefix.c
Damien George 90023b4dcf extmod/modmachine: Clean up decls of machine types to use common ones.
The machine_i2c_type, machine_spi_type and machine_timer_type symbols are
already declared in extmod/modmachine.h and should not be declared anywhere
else.

Also move declarations of machine_pin_type and machine_rtc_type to the
common header in extmod.

Signed-off-by: Damien George <damien@micropython.org>
2023-10-26 16:20:53 +11:00

5 lines
101 B
C

#include "py/obj.h"
#include "extmod/modmachine.h"
#include "machine_pin.h"
#include "genhdr/pins.h"