mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Curve: remove wrong comment about PSTR
Not being able to leave the instantiation in ther header is not because of PSTR issues, but basically because the instantiation needs to be in a compilation unit, not in the header itself.
This commit is contained in:
parent
9203e2b929
commit
1ce03c53a6
@ -42,8 +42,7 @@ protected:
|
|||||||
/* Typedefs for template instansations of AP_Curve.
|
/* Typedefs for template instansations of AP_Curve.
|
||||||
* Only use the AP_Curve instances listed here!
|
* Only use the AP_Curve instances listed here!
|
||||||
* If you need a different one, you must first instantiate the template at the
|
* If you need a different one, you must first instantiate the template at the
|
||||||
* end of AP_Curve.cpp, then add a typedef here. We can't leave the whole
|
* end of AP_Curve.cpp, then add a typedef here.
|
||||||
* template implementation in the header due to PSTR related issues.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef AP_Curve<int16_t,3> AP_CurveInt16_Size3;
|
typedef AP_Curve<int16_t,3> AP_CurveInt16_Size3;
|
||||||
|
Loading…
Reference in New Issue
Block a user