mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_HAL: disable float print methods for non FPU controllers
This commit is contained in:
parent
5e4f76886a
commit
9a2eea9769
@ -157,6 +157,7 @@ void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap)
|
|||||||
break;
|
break;
|
||||||
} while ((c = *fmt++) != 0);
|
} while ((c = *fmt++) != 0);
|
||||||
|
|
||||||
|
#if CONFIG_HAL_BOARD != HAL_BOARD_CHIBIOS || __FPU_PRESENT
|
||||||
/*
|
/*
|
||||||
* Handle floating-point formats E, F, G, e, f, g.
|
* Handle floating-point formats E, F, G, e, f, g.
|
||||||
*/
|
*/
|
||||||
@ -349,7 +350,7 @@ flt_oper:
|
|||||||
|
|
||||||
goto tail;
|
goto tail;
|
||||||
}
|
}
|
||||||
|
#endif //#if CONFIG_HAL_BOARD != HAL_BOARD_CHIBIOS || __FPU_PRESENT
|
||||||
/*
|
/*
|
||||||
* Handle string formats c, s, S.
|
* Handle string formats c, s, S.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user