mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: use GCS_SEND_TEXT rather than gcs().send_text
Co-authored-by: muramura <ma2maru@gmail.com>
This commit is contained in:
parent
52d5b4e684
commit
78afaebe55
|
@ -764,7 +764,7 @@ void AP_Logger_File::start_new_log(void)
|
|||
|
||||
// set _open_error here to avoid infinite recursion. Simply
|
||||
// writing a prioritised block may try to open a log - which means
|
||||
// if anything in the start_new_log path does a gcs().send_text()
|
||||
// if anything in the start_new_log path does a GCS_SEND_TEXT()
|
||||
// (for example), you will end up recursing if we don't take
|
||||
// precautions. We will reset _open_error if we actually manage
|
||||
// to open the log...
|
||||
|
|
Loading…
Reference in New Issue