1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00

added support for l3g4200d i2c gyro, autodetected

added motors off in hardfault handler, so we drop to the ground on hardfault.


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@190 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-08-05 01:57:51 +00:00
parent 75adda0597
commit ecda218e8f
7 changed files with 2585 additions and 2400 deletions

View file

@ -138,3 +138,10 @@ int main(void)
loop();
}
}
void HardFault_Handler(void)
{
// fall out of the sky
writeAllMotors(cfg.mincommand);
while (1);
}