From 9ea809bef73e6862103cd71802803122e97bf80b Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 31 Aug 2018 17:46:03 -0400 Subject: add pin claiming to devices --- ports/nrf/common-hal/microcontroller/Pin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ports/nrf/common-hal/microcontroller/Pin.h') diff --git a/ports/nrf/common-hal/microcontroller/Pin.h b/ports/nrf/common-hal/microcontroller/Pin.h index 1e751c714..2cdf440b5 100644 --- a/ports/nrf/common-hal/microcontroller/Pin.h +++ b/ports/nrf/common-hal/microcontroller/Pin.h @@ -40,9 +40,9 @@ extern bool apa102_mosi_in_use; #endif void reset_all_pins(void); -// reset_pin takes the pin number instead of the pointer so that objects don't +// reset_pin_number takes the pin number instead of the pointer so that objects don't // need to store a full pointer. -void reset_pin(uint8_t pin); +void reset_pin_number(uint8_t pin); void claim_pin(const mcu_pin_obj_t* pin); // Lower 5 bits of a pin number are the pin number in a port. -- cgit v1.2.3