Skip to content

Commit

Permalink
AP_Logger: clarify behavior of log_file_content
Browse files Browse the repository at this point in the history
It hasn't kept the passed pointer for a while now.
  • Loading branch information
tpwrules authored and peterbarker committed Feb 8, 2025
1 parent 962616a commit 1ca1b5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/AP_Logger/AP_Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ class AP_Logger
return _log_start_count;
}

// add a filename to list of files to log. The name must be a constant string, not allocated
// add a filename to list of files to log. The name is copied internally so
// the pointer passed can be freed after return.
void log_file_content(const char *name);

protected:
Expand Down

0 comments on commit 1ca1b5d

Please sign in to comment.