Skip to content

Commit

Permalink
pin selection cleanup, tinyUSB update
Browse files Browse the repository at this point in the history
  • Loading branch information
hierophect committed Jul 19, 2019
1 parent 734012a commit 10b9ca5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/tinyusb
Submodule tinyusb updated 484 files
4 changes: 2 additions & 2 deletions ports/stm32f4/peripherals/stm32f4/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ extern const mp_obj_type_t mcu_pin_type;
#define NO_PIN 0xff

// Choose based on chip
//#ifdef STM32F412ZG
#ifdef STM32F412Zx
#include "stm32f412zg/pins.h"
//#endif
#endif

#endif // __MICROPY_INCLUDED_STM32F4_PERIPHERALS_PINS_H__
2 changes: 0 additions & 2 deletions ports/stm32f4/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@
#define LED2_Pin GPIO_PIN_1
#define LED2_GPIO_Port GPIOE

UART_HandleTypeDef huart2;

/*
#include "shared-module/gamepad/__init__.h"
#include "common-hal/microcontroller/Pin.h"
Expand Down

0 comments on commit 10b9ca5

Please sign in to comment.