mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Ported some I2C code from AQ32PlusF3 which itself looked ported from the
STM32 examples.
This commit is contained in:
parent
8d9ce86a5a
commit
4febeb3969
12 changed files with 883 additions and 20 deletions
|
@ -663,7 +663,7 @@ static void evaluateCommand(void)
|
|||
case MSP_DEBUG:
|
||||
headSerialReply(8);
|
||||
// make use of this crap, output some useful QA statistics
|
||||
debug[3] = ((hse_value / 1000000) * 1000) + (SystemCoreClock / 1000000); // XX0YY [crystal clock : core clock]
|
||||
//debug[3] = ((hse_value / 1000000) * 1000) + (SystemCoreClock / 1000000); // XX0YY [crystal clock : core clock]
|
||||
for (i = 0; i < 4; i++)
|
||||
serialize16(debug[i]); // 4 variables are here for general monitoring purpose
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue