aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-04-01 09:25:46 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-04-04 18:30:05 -0400
commite6157c1600a0b8d466db306a0d1a58ecc7ad7cc4 (patch)
treee7e910080b10607ca15c3365ca10eda5e9346688
parent0615ab5f89dbc6f8442c13fb7da4e9359301469b (diff)
downloadkutter-e6157c1600a0b8d466db306a0d1a58ecc7ad7cc4.tar.gz
kutter-e6157c1600a0b8d466db306a0d1a58ecc7ad7cc4.tar.xz
kutter-e6157c1600a0b8d466db306a0d1a58ecc7ad7cc4.zip
atsamd: Minor whitespace changes to sercom.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/atsamd/sercom.c4
1 files changed, 1 insertions, 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);