Merge pull request #1145 from ladyada/master

rename pin.h to nrf_pin.h to avoid conflict with Pin.h
This commit is contained in:
Dan Halbert 2018-08-26 21:50:07 -04:00 committed by GitHub
commit 9a10849afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#include "py/obj.h"
#include "py/mphal.h"
#include "pin.h"
#include "nrf_pin.h"
#define PIN(p_name, p_port, p_pin, p_adc_channel) \
{ \

View File

@ -27,7 +27,7 @@
#ifndef MICROPY_INCLUDED_NRF_COMMON_HAL_MICROCONTROLLER_PIN_H
#define MICROPY_INCLUDED_NRF_COMMON_HAL_MICROCONTROLLER_PIN_H
#include "pin.h"
#include "nrf_pin.h"
#include "py/mphal.h"
#define mcu_pin_obj_t pin_obj_t

View File

@ -30,7 +30,7 @@
#include "ble_uart.h"
#else
#include "nrf_gpio.h"
#include "pin.h"
#include "nrf_pin.h"
#endif
#if !defined( NRF52840_XXAA) || ( defined(CFG_HWUART_FOR_SERIAL) && CFG_HWUART_FOR_SERIAL == 1 )