1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

moved some readonly strings to flash, thanks zyp

cleaned up frsky telemetry a bit with verbose telemetry ID names, changed loop timing a bit, added output for heading and voltage (when vbat is enabled). telemetry stuff is untested, so someone try it out.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@226 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2012-10-07 14:58:12 +00:00
parent 005308b430
commit 193902079c
4 changed files with 2390 additions and 2299 deletions

View file

@ -5,13 +5,13 @@
#define sq(x) ((x)*(x))
#endif
uint32_t init_speed[5] = { 9600, 19200, 38400, 57600, 115200 };
const uint32_t init_speed[5] = { 9600, 19200, 38400, 57600, 115200 };
static void GPS_NewData(uint16_t c);
static void GPS_set_pids(void);
static void gpsPrint(const char *str);
static const char *gpsInitStrings[] = {
static const char * const gpsInitStrings[] = {
"$PUBX,41,1,0003,0001,19200,0*23\r\n", // UBX0..3
"$PUBX,41,1,0003,0001,38400,0*26\r\n",
"$PUBX,41,1,0003,0001,57600,0*2D\r\n",