Skip to content
Snippets Groups Projects
Commit a2d5d84e authored by Damien George's avatar Damien George
Browse files

esp8266: Convert mp_hal_pin_obj_t from pin ptr to simple integer.

Most pin I/O can be done just knowing the pin number as a simple
integer, and it's more efficient this way (code size, speed) because it
doesn't require a memory lookup to get the pin id from the pin object.

If the full pin object is needed then it can be easily looked up in the
pin table.
parent 624738ca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment