Clean up whitespace

This commit is contained in:
Scott Lahteine 2020-06-07 21:51:38 -05:00
parent 1a5663fbf4
commit 45488a431a
4 changed files with 80 additions and 81 deletions

View File

@ -56,7 +56,6 @@ void boardInit(void) {
// afio_remap(AFIO_REMAP_I2C1);
}
// Pin map: this lets the basic I/O functions (digitalWrite(),
// analogRead(), pwmWrite()) translate from pin numbers to STM32
// peripherals.
@ -72,14 +71,14 @@ void boardInit(void) {
// - ADC channel, or ADCx if none
extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
/*
/*
gpio_dev *gpio_device; GPIO device
timer_dev *timer_device; Pin's timer device, if any.
const adc_dev *adc_device; ADC device, if any.
uint8 gpio_bit; Pin's GPIO port bit.
uint8 timer_channel; Timer channel, or 0 if none.
uint8 adc_channel; Pin ADC channel, or ADCx if none.
*/
*/
{&gpioa, &timer2, &adc1, 0, 1, 0}, /* PA0 */
{&gpioa, &timer2, &adc1, 1, 2, 1}, /* PA1 */