commit | f0cfb43dcb15d8c8771f19f062436a1ef5c8f008 | [log] [tgz] |
---|---|---|
author | CHESS\Jonny.VanBeek <jonny.vanbeek@chess-dynamics.com> | Tue Jun 07 15:49:00 2022 +0100 |
committer | TOUNSTM <113367711+TOUNSTM@users.noreply.github.com> | Wed Jan 04 10:46:26 2023 +0100 |
tree | d65b2f1ffc8c06b5a3d46e312f15f0b30e27f193 | |
parent | 3eefb176ebcef286879de29bdf154b4b8d711af3 [diff] |
Fix unused variable warning
diff --git a/Src/stm32f4xx_hal_pwr.c b/Src/stm32f4xx_hal_pwr.c index b4bb483..f5863fa 100644 --- a/Src/stm32f4xx_hal_pwr.c +++ b/Src/stm32f4xx_hal_pwr.c
@@ -378,6 +378,9 @@ */ void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry) { + /* Prevent unused argument(s) compilation warning */ + UNUSED(Regulator); + /* Check the parameters */ assert_param(IS_PWR_REGULATOR(Regulator)); assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry));