1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

7 commits

Author SHA1 Message Date
mikeller
214d378e82 Detect revisions of the STM32H743. 2020-02-15 12:35:57 +13:00
Bruce Luckcuck
9cb48c97fd Add cliDebugPrint functions to facilitate easy debug printing to CLI
To use, include `cli/cli_debug_print.h` in your code and be sure `USE_CLI_DEBUG_PRINT` is defined. Then you'll have access to the following functions to print debugging messages in the CLI:
```
cliDebugPrintLineFeed
cliDebugPrint
cliDebugPrintLine
cliDebugPrintf
cliDebugPrintLinef
```
Output is suppressed when the CLI is not open.

May interfere with the autocomplete initialization when first entering the CLI if your code is outputting data when the CLI first opens. But as this is only meant for debugging it shouldn't be much of a concern.

You may also need to rate limit your messages if printing data in a loop.

All of the debugging code must be removed from any completed code before submission.
2019-09-28 14:52:01 -04:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
blckmn
916de26ad8 Files with bad CRLF 2018-04-22 09:31:43 +10:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
blckmn
46a6e560f1 Initial IO remapping capability 2016-10-13 11:08:39 +11:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Renamed from src/main/build_config.c (Browse further)