Browse Source

Plane: fixed APM1-1280 build

master
Andrew Tridgell 12 years ago
parent
commit
b43712e4d2
  1. 4
      ArduPlane/GCS_Mavlink.pde

4
ArduPlane/GCS_Mavlink.pde

@ -2140,7 +2140,9 @@ static void gcs_send_text_P(gcs_severity severity, const prog_char_t *str) @@ -2140,7 +2140,9 @@ static void gcs_send_text_P(gcs_severity severity, const prog_char_t *str)
if (gcs3.initialised) {
gcs3.send_text_P(severity, str);
}
#if LOGGING_ENABLED == ENABLED
DataFlash.Log_Write_Message_P(str);
#endif
}
/*
@ -2156,7 +2158,9 @@ void gcs_send_text_fmt(const prog_char_t *fmt, ...) @@ -2156,7 +2158,9 @@ void gcs_send_text_fmt(const prog_char_t *fmt, ...)
hal.util->vsnprintf_P((char *)gcs0.pending_status.text,
sizeof(gcs0.pending_status.text), fmt, arg_list);
va_end(arg_list);
#if LOGGING_ENABLED == ENABLED
DataFlash.Log_Write_Message(gcs0.pending_status.text);
#endif
gcs3.pending_status = gcs0.pending_status;
mavlink_send_message(MAVLINK_COMM_0, MSG_STATUSTEXT, 0);
if (gcs3.initialised) {

Loading…
Cancel
Save