machine_hw_i2c_obj_t in Header? (esp32 port) #18324
Replies: 2 comments
-
|
Hi @cnadler86. That struct appears to be ESP32 specific, and other port have other such structs. What is the thing you want to actually achieve? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jonnor. Thx for your reply. IMO, it would be better to migrate the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a reason why the definition of the i2c type
machine_hw_i2c_obj_tis in the c-file and not in the Header?I would like to pass an i2c object to my Usermodule without mirroring the definition.
I can also PR this change.
Beta Was this translation helpful? Give feedback.
All reactions