mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 16:08:28 -04:00
4109374959
this allows ArduPlane to build and startup on 'desktop' systems (eg. a Linux box). Very rough for now, and only for HIL so far
8 lines
162 B
C
8 lines
162 B
C
#include <stdio.h>
|
|
|
|
int __ftoa_engine(double val, char *buf,
|
|
unsigned char prec, unsigned char maxdgs)
|
|
{
|
|
return sprintf(buf, "%*.*lf", prec, maxdgs, val);
|
|
}
|