summaryrefslogtreecommitdiffstats
path: root/watch-library/hpl
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/hpl')
-rw-r--r--watch-library/hpl/adc/hpl_adc.c2
-rw-r--r--watch-library/hpl/sercom/hpl_sercom.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/watch-library/hpl/adc/hpl_adc.c b/watch-library/hpl/adc/hpl_adc.c
index 032302cb..c9db19b4 100644
--- a/watch-library/hpl/adc/hpl_adc.c
+++ b/watch-library/hpl/adc/hpl_adc.c
@@ -156,6 +156,8 @@ static uint8_t _adc_get_irq_num(const struct _adc_async_device *const device)
*/
static void _adc_init_irq_param(const void *const hw, struct _adc_async_device *dev)
{
+ (void)hw;
+ (void)dev;
}
/**
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) {