From 3ef51d215683996e624207fdcaf640954b62cec2 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 11 Apr 2022 19:16:04 +0200 Subject: [PATCH] EgtInterface : - aggiunta interfaccia per funzione EgtGetAxisHomePos. --- API_MachMgr.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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) ; } //-----------------------------------------------------------------------------