From e6157c1600a0b8d466db306a0d1a58ecc7ad7cc4 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 1 Apr 2019 09:25:46 -0400 Subject: [PATCH] atsamd: Minor whitespace changes to sercom.c Signed-off-by: Kevin O'Connor --- src/atsamd/sercom.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/atsamd/sercom.c b/src/atsamd/sercom.c index 35c6c0dc..14ae773d 100644 --- a/src/atsamd/sercom.c +++ b/src/atsamd/sercom.c @@ -63,7 +63,6 @@ struct sercom_pad { uint8_t sercom_id, gpio, pad, ptype; }; - static const struct sercom_pad sercom_pads[] = { #if CONFIG_MACH_SAMD21 { 0, GPIO('A', 8), 0, 'C'}, @@ -324,7 +323,6 @@ struct sercom_spi_map { uint8_t tx_pad, clk_pad, dopo; }; - static const struct sercom_spi_map sercom_spi[] = { { 0, 1, 0 }, { 3, 1, 2 }, @@ -365,7 +363,7 @@ sercom_spi_pins(uint32_t sercom_id) uint8_t dopo = sercom_lookup_spi_dopo(tx_sp->pad, clk_sp->pad); if (rx_sp->pad == tx_sp->pad || rx_sp->pad == clk_sp->pad) - shutdown("Sercom RX pad collides with TX or CLK pad"); + shutdown("Sercom RX pad collides with TX or CLK pad"); gpio_peripheral(tx_pin, tx_sp->ptype, 0); gpio_peripheral(rx_pin, rx_sp->ptype, 0);