diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 6833dd5..bb966b3 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -2132,16 +2132,23 @@ __stdcall EgtGetAxisPos( const wchar_t* wsAxis, double* pdVal) //----------------------------------------------------------------------------- BOOL -__stdcall EgtGetAxisMin( const wchar_t* wsAxis, double* pdVal) +__stdcall EgtGetAxisMin( const wchar_t* wsAxis, double* pdMin) { - return ( ExeGetAxisMin( wstrztoA( wsAxis), pdVal) ? TRUE : FALSE) ; + return ( ExeGetAxisMin( wstrztoA( wsAxis), pdMin) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtGetAxisMax( const wchar_t* wsAxis, double* pdVal) +__stdcall EgtGetAxisMax( const wchar_t* wsAxis, double* pdMax) { - return ( ExeGetAxisMax( wstrztoA( wsAxis), pdVal) ? TRUE : FALSE) ; + return ( ExeGetAxisMax( wstrztoA( wsAxis), pdMax) ? TRUE : FALSE) ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetAxisHomePos( const wchar_t* wsAxis, double* pdHome) +{ + return ( ExeGetAxisHomePos( wstrztoA( wsAxis), pdHome) ? TRUE : FALSE) ; } //-----------------------------------------------------------------------------