summaryrefslogtreecommitdiffstats
path: root/watch-library/hpl/sercom
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-24 21:28:52 -0600
committerJoey Castillo <jose.castillo@gmail.com>2021-08-24 21:28:52 -0600
commit2c6c60537286cc26b87f3168b0545600d666aae2 (patch)
treecb2147a10ea70ae908742008b0457bc1c243bca0 /watch-library/hpl/sercom
parent89c8e3db54fd0e1f591bb8c562621fad8a7aebf6 (diff)
downloadSensor-Watch-2c6c60537286cc26b87f3168b0545600d666aae2.tar.gz
Sensor-Watch-2c6c60537286cc26b87f3168b0545600d666aae2.tar.bz2
Sensor-Watch-2c6c60537286cc26b87f3168b0545600d666aae2.zip
silence unused parameter warnings
Diffstat (limited to 'watch-library/hpl/sercom')
-rw-r--r--watch-library/hpl/sercom/hpl_sercom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/watch-library/hpl/sercom/hpl_sercom.c b/watch-library/hpl/sercom/hpl_sercom.c
index a241e97a..f01476dc 100644
--- a/watch-library/hpl/sercom/hpl_sercom.c
+++ b/watch-library/hpl/sercom/hpl_sercom.c
@@ -576,6 +576,8 @@ static uint8_t _get_sercom_index(const void *const hw)
*/
static void _sercom_init_irq_param(const void *const hw, void *dev)
{
+ (void)hw;
+ (void)dev;
}
/**
@@ -2515,6 +2517,7 @@ int32_t _spi_calc_baud_val(struct spi_dev *dev, const uint32_t clk, const uint32
{
int32_t rc;
ASSERT(dev);
+ (void)dev;
/* Not accept 0es */
if (clk == 0 || baud == 0) {