diff options
author | Luca Burelli <l.burelli@arduino.cc> | 2023-07-04 12:24:35 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-07-20 23:55:42 +1000 |
commit | e0784750aab4bd71896d6683de00b15324b8cb0f (patch) | |
tree | b15cb2bef9d2533d9bdd56b4a67a177734bd8c99 /py/objstringio.c | |
parent | 3d98f6b80a6d74ce31e33588f430a5ec17099620 (diff) |
shared/tinyusb: Avoid symbol clash on targets with external TinyUSB.
On targets that provide a reference TinyUSB implementation, like ESP32,
the SDK already defines and implements standard callback functions such
as tud_cdc_line_state_cb(). This causes a symbol clash when enabling
shared implementations like the MicroPython 1200 touch functionality.
To avoid this symbol clash, add an optional macro to allow ports to
use a different function name in the shared implementation.
Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Diffstat (limited to 'py/objstringio.c')
0 files changed, 0 insertions, 0 deletions