Skip to content

Commit 9a10849

Browse files
authored
Merge pull request #1145 from ladyada/master
rename pin.h to nrf_pin.h to avoid conflict with Pin.h
2 parents 5c3fcc7 + ded38d3 commit 9a10849

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

ports/nrf/boards/nrf52_prefix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "py/obj.h"
66
#include "py/mphal.h"
7-
#include "pin.h"
7+
#include "nrf_pin.h"
88

99
#define PIN(p_name, p_port, p_pin, p_adc_channel) \
1010
{ \

ports/nrf/common-hal/microcontroller/Pin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#ifndef MICROPY_INCLUDED_NRF_COMMON_HAL_MICROCONTROLLER_PIN_H
2828
#define MICROPY_INCLUDED_NRF_COMMON_HAL_MICROCONTROLLER_PIN_H
2929

30-
#include "pin.h"
30+
#include "nrf_pin.h"
3131
#include "py/mphal.h"
3232

3333
#define mcu_pin_obj_t pin_obj_t
File renamed without changes.

ports/nrf/supervisor/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "ble_uart.h"
3131
#else
3232
#include "nrf_gpio.h"
33-
#include "pin.h"
33+
#include "nrf_pin.h"
3434
#endif
3535

3636
#if !defined( NRF52840_XXAA) || ( defined(CFG_HWUART_FOR_SERIAL) && CFG_HWUART_FOR_SERIAL == 1 )

0 commit comments

Comments
 (0)