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

Firmware version 0.1.4

Add ability to reduce recorded data rate
Update struct names to conform to code style guidelines
This commit is contained in:
Nicholas Sherlock 2014-12-17 17:16:17 +13:00
parent e47a82add8
commit ce5d64f653
6 changed files with 5709 additions and 5646 deletions

View file

@ -435,6 +435,11 @@ static void resetConf(void)
applyDefaultLedStripConfig(masterConfig.ledConfigs);
#endif
#ifdef BLACKBOX
masterConfig.blackbox_rate_num = 1;
masterConfig.blackbox_rate_denom = 1;
#endif
// copy first profile into remaining profile
for (i = 1; i < MAX_PROFILE_COUNT; i++) {
memcpy(&masterConfig.profile[i], currentProfile, sizeof(profile_t));