mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduSub: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
This commit is contained in:
parent
af357ee45c
commit
bc4ee95004
@ -2,16 +2,6 @@
|
|||||||
|
|
||||||
#include "GCS_Mavlink.h"
|
#include "GCS_Mavlink.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* !!NOTE!!
|
|
||||||
*
|
|
||||||
* the use of NOINLINE separate functions for each message type avoids
|
|
||||||
* a compiler bug in gcc that would cause it to use far more stack
|
|
||||||
* space than is needed. Without the NOINLINE we use the sum of the
|
|
||||||
* stack needed for each message type. Please be careful to follow the
|
|
||||||
* pattern below when adding any new messages
|
|
||||||
*/
|
|
||||||
|
|
||||||
MAV_TYPE GCS_Sub::frame_type() const
|
MAV_TYPE GCS_Sub::frame_type() const
|
||||||
{
|
{
|
||||||
return MAV_TYPE_SUBMARINE;
|
return MAV_TYPE_SUBMARINE;
|
||||||
|
Loading…
Reference in New Issue
Block a user