diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-04-16 21:43:10 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-04-16 21:43:10 +0000 |
commit | c10eadda84bb1330cb267d5d583927e73827e6f6 (patch) | |
tree | eef3620f8414b84333950a61dc81aa35cbe268c6 /os/hal/boards/ST_STM32F746G_DISCOVERY/board.c | |
parent | 119fe0414811fc2a1387c662e6583c9ad77abb44 (diff) | |
download | ChibiOS-c10eadda84bb1330cb267d5d583927e73827e6f6.tar.gz ChibiOS-c10eadda84bb1330cb267d5d583927e73827e6f6.tar.bz2 ChibiOS-c10eadda84bb1330cb267d5d583927e73827e6f6.zip |
Fixed copyright date in recently generated board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9295 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_STM32F746G_DISCOVERY/board.c')
-rw-r--r-- | os/hal/boards/ST_STM32F746G_DISCOVERY/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c index 96b60c1a7..9e8d10bc1 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.c @@ -85,9 +85,9 @@ void __early_init(void) { * @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
-
- (void)sdcp;
-
+ + (void)sdcp; + return !palReadPad(GPIOC, GPIOC_SD_DETECT);
}
|