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:
Lucas De Marchi 2015-10-26 11:24:54 -02:00 committed by Randy Mackay
parent 9203e2b929
commit 1ce03c53a6

View File

@ -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;