1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

SPRacingF3 - Enable Blackbox feature and use on-board flash by default.

Ensures that every maiden flight is logged unless user specifically
disables blackbox logging.
This commit is contained in:
Dominic Clifton 2015-05-06 22:02:14 +01:00
parent ee1d5a9a38
commit 62e2b557b5

View file

@ -512,7 +512,12 @@ static void resetConf(void)
#endif
#ifdef BLACKBOX
#ifdef SPRACINGF3
featureSet(FEATURE_BLACKBOX);
masterConfig.blackbox_device = 1;
#else
masterConfig.blackbox_device = 0;
#endif
masterConfig.blackbox_rate_num = 1;
masterConfig.blackbox_rate_denom = 1;
#endif