1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

Add Profile OLED display page that shows the current profile and rate

profile.
This commit is contained in:
Dominic Clifton 2014-10-29 23:55:12 +00:00
parent 28f9fa629c
commit ef7f5321da
4 changed files with 31 additions and 4 deletions

View file

@ -1090,7 +1090,7 @@ static void cliProfile(char *cmdline)
len = strlen(cmdline);
if (len == 0) {
printf("profile %d\r\n", masterConfig.current_profile_index);
printf("profile %d\r\n", getCurrentProfile());
return;
} else {
i = atoi(cmdline);