Custom board file updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5595 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
5597fabe0b
commit
b482a3497e
|
@ -52,3 +52,30 @@ void __early_init(void) {
|
|||
*/
|
||||
void boardInit(void) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Inserion monitor function.
|
||||
*
|
||||
* @param[in] sdcp pointer to the @p SDCDriver object
|
||||
*
|
||||
* @notapi
|
||||
*/
|
||||
bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) {
|
||||
|
||||
(void)sdcp;
|
||||
return !palReadPad(GPIOE, GPIOE_SDIO_DETECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Protection detection.
|
||||
* @note Not supported, allways not protected.
|
||||
*
|
||||
* @param[in] sdcp pointer to the @p SDCDriver object
|
||||
*
|
||||
* @notapi
|
||||
*/
|
||||
bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
|
||||
|
||||
(void)sdcp;
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue