1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

Switch to cleaner way of detecting a soft-reset on STM32F103 based targets using RCC->CSR register.

This commit is contained in:
Konstantin Sharlaimov 2015-03-13 23:42:12 +10:00 committed by Dominic Clifton
parent 11493cd01a
commit bd6297f0cc
4 changed files with 9 additions and 9 deletions

View file

@ -40,3 +40,5 @@ typedef void extiCallbackHandler(void);
void registerExti15_10_CallbackHandler(extiCallbackHandler *fn);
void unregisterExti15_10_CallbackHandler(extiCallbackHandler *fn);
extern uint32_t cachedRccCsrValue;