diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-03-18 10:29:35 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-03-18 10:29:35 +0000 |
commit | b3fe630e4bab9a0af6f514ba086b26a1183fd333 (patch) | |
tree | 37ca76e6c31bc57d6c3e2f2e98c023142f579534 /os/hal/boards/OLIMEX_STM32_E407 | |
parent | ab961a54e0cc898315cf60d224d68b2c9547b1dc (diff) | |
download | ChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.tar.gz ChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.tar.bz2 ChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.zip |
Mass license update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9136 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/OLIMEX_STM32_E407')
-rw-r--r-- | os/hal/boards/OLIMEX_STM32_E407/board.c | 14 | ||||
-rw-r--r-- | os/hal/boards/OLIMEX_STM32_E407/board.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.c b/os/hal/boards/OLIMEX_STM32_E407/board.c index f67cc2962..cbf380740 100644 --- a/os/hal/boards/OLIMEX_STM32_E407/board.c +++ b/os/hal/boards/OLIMEX_STM32_E407/board.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -77,10 +77,10 @@ void __early_init(void) { * @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
- static bool last_status = false; - - if (blkIsTransferring(sdcp)) - return last_status; + static bool last_status = false;
+
+ if (blkIsTransferring(sdcp))
+ return last_status;
return last_status = (bool)palReadPad(GPIOC, GPIOC_SD_D3);
}
@@ -88,8 +88,8 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) { * @brief SDC card write protection detection.
*/
bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
- - (void)sdcp; +
+ (void)sdcp;
return false;
}
#endif /* HAL_USE_SDC */
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.h b/os/hal/boards/OLIMEX_STM32_E407/board.h index 6402a0f50..1b71dae13 100644 --- a/os/hal/boards/OLIMEX_STM32_E407/board.h +++ b/os/hal/boards/OLIMEX_STM32_E407/board.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
|