summaryrefslogtreecommitdiff
path: root/tests/micropython
diff options
context:
space:
mode:
authorGlenn Ruben Bakke <glennbakke@gmail.com>2018-04-10 22:42:05 +0200
committerDamien George <damien.p.george@gmail.com>2018-07-18 17:12:26 +1000
commit3209a13bf56677345f2045375610aa1d21603c2c (patch)
tree168056d68eda488c617f720c7bb4878f0275bfef /tests/micropython
parent0f7da42c75b6734e6925ebc53cb933605cbe5f92 (diff)
nrf/modules: Align method to resolve pin object
machine/i2c already uses mp_hal_get_pin_obj which points to pin_find function in order to locate correct pin object to use. The pin_find function was recently updated to also being able to locate pins based on an integer value, such that pin number can be used as argument to object constructors. This patch modfies and uniforms pin object lookup for SPI, music and pwm.
Diffstat (limited to 'tests/micropython')
0 files changed, 0 insertions, 0 deletions