Revision fc7151bb Target/Modules/PowerManagement_1-2/Boot/hooks.c
Target/Modules/PowerManagement_1-2/Boot/hooks.c | ||
---|---|---|
40 | 40 |
#include "stm32f4xx_conf.h" /* STM32 peripheral drivers */ |
41 | 41 |
#endif |
42 | 42 |
|
43 |
|
|
44 | 43 |
/**************************************************************************************** |
45 | 44 |
* B A C K D O O R E N T R Y H O O K F U N C T I O N S |
46 | 45 |
****************************************************************************************/ |
... | ... | |
84 | 83 |
** \return BLT_TRUE if the backdoor entry is requested, BLT_FALSE otherwise. |
85 | 84 |
** |
86 | 85 |
****************************************************************************************/ |
87 |
blt_bool BackDoorEntryCheck(void) { |
|
86 |
blt_bool BackDoorEntryCheck(void) |
|
87 |
{ |
|
88 | 88 |
/* evaluate the fsm state */ |
89 | 89 |
switch (boot_state) { |
90 | 90 |
case BOOT_FLASH_CHECK: |
... | ... | |
117 | 117 |
break; |
118 | 118 |
} |
119 | 119 |
return BLT_FALSE; |
120 |
} |
|
120 |
} /*** end of BackDoorEntryCheck ***/
|
|
121 | 121 |
|
122 | 122 |
/************************************************************************************//** |
123 | 123 |
** \brief Checks if a backdoor entry is requested. |
Also available in: Unified diff