mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 09:53:34 +08:00
PX4 System: Upstream NuttX defconfig changes
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
This commit is contained in:
committed by
Daniel Agar
parent
724e4f9e39
commit
cb21aced5e
@@ -59,7 +59,7 @@
|
||||
|
||||
__EXPORT int bl_update_main(int argc, char *argv[]);
|
||||
|
||||
#if defined (CONFIG_STM32_STM32F40XX)
|
||||
#if defined (CONFIG_STM32_STM32F4XXX)
|
||||
static int setopt(void);
|
||||
|
||||
static void print_usage(const char *reason)
|
||||
@@ -81,7 +81,7 @@ static void print_usage(const char *reason)
|
||||
int
|
||||
bl_update_main(int argc, char *argv[])
|
||||
{
|
||||
#if !defined (CONFIG_STM32_STM32F40XX)
|
||||
#if !defined (CONFIG_STM32_STM32F4XXX)
|
||||
PX4_ERR("Not supported on this HW");
|
||||
return 1;
|
||||
}
|
||||
@@ -243,4 +243,4 @@ setopt(void)
|
||||
PX4_ERR("option bits setting failed; readback 0x%04x", *optcr);
|
||||
return 1;
|
||||
}
|
||||
#endif // CONFIG_STM32_STM32F40XX
|
||||
#endif // CONFIG_STM32_STM32F4XXX
|
||||
|
||||
Reference in New Issue
Block a user