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

Fixed typo, BETAFLIGHTF3 flash overflow.

This commit is contained in:
mikeller 2018-06-01 00:48:21 +12:00
parent cedf2a1b45
commit 2ca07f7302
3 changed files with 3 additions and 2 deletions

View file

@ -2261,7 +2261,7 @@ static void cliManufacturerId(char *cmdline)
{ {
const unsigned int len = strlen(cmdline); const unsigned int len = strlen(cmdline);
if (len > 0 && boardInformationIsSet() && (len != strlen(getManufacturerId()) || strncmp(getManufacturerId(), cmdline, len))) { if (len > 0 && boardInformationIsSet() && (len != strlen(getManufacturerId()) || strncmp(getManufacturerId(), cmdline, len))) {
cliPrintErrorLinef(ERROR_MESSAGE, "manufactuer_id", getManufacturerId()); cliPrintErrorLinef(ERROR_MESSAGE, "manufacturer_id", getManufacturerId());
} else { } else {
if (len > 0) { if (len > 0) {
setManufacturerId(cmdline); setManufacturerId(cmdline);

View file

@ -26,6 +26,7 @@
// Removed to make the firmware fit into flash (in descending order of priority): // Removed to make the firmware fit into flash (in descending order of priority):
#undef USE_EXTENDED_CMS_MENUS
#undef USE_RTC_TIME #undef USE_RTC_TIME
#undef USE_COPY_PROFILE_CMS_MENU #undef USE_COPY_PROFILE_CMS_MENU
#undef USE_RX_MSP #undef USE_RX_MSP

View file

@ -32,11 +32,11 @@
#undef USE_GYRO_OVERFLOW_CHECK #undef USE_GYRO_OVERFLOW_CHECK
#undef USE_GYRO_LPF2 #undef USE_GYRO_LPF2
#undef USE_TELEMETRY_HOTT
#undef USE_TELEMETRY_MAVLINK #undef USE_TELEMETRY_MAVLINK
#undef USE_TELEMETRY_LTM #undef USE_TELEMETRY_LTM
#undef USE_SERIALRX_XBUS #undef USE_SERIALRX_XBUS
#undef USE_BOARD_INFO
#undef USE_EXTENDED_CMS_MENUS #undef USE_EXTENDED_CMS_MENUS
#undef USE_COPY_PROFILE_CMS_MENU #undef USE_COPY_PROFILE_CMS_MENU
#undef USE_RTC_TIME #undef USE_RTC_TIME