mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Rename gyro mpu read and write functions and definitions
This commit is contained in:
parent
9afbec557c
commit
8bc133fed6
8 changed files with 63 additions and 63 deletions
|
@ -34,8 +34,8 @@ void SetSysClock(void);
|
|||
|
||||
void systemReset(void)
|
||||
{
|
||||
if (mpuReset) {
|
||||
mpuReset();
|
||||
if (mpuResetFn) {
|
||||
mpuResetFn();
|
||||
}
|
||||
|
||||
__disable_irq();
|
||||
|
@ -44,8 +44,8 @@ void systemReset(void)
|
|||
|
||||
void systemResetToBootloader(void)
|
||||
{
|
||||
if (mpuReset) {
|
||||
mpuReset();
|
||||
if (mpuResetFn) {
|
||||
mpuResetFn();
|
||||
}
|
||||
|
||||
*((uint32_t *)0x2001FFFC) = 0xDEADBEEF; // 128KB SRAM STM32F4XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue