EgtMachKernel :

- corretto controllo bit licenza per generazione CN e per lavorazioni avanzate.
This commit is contained in:
Dario Sassi
2024-10-02 18:03:45 +02:00
parent edd3f623c7
commit ae24d97c6e
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -68,10 +68,10 @@ Generator::Run( const string& sCncFile, const string& sInfo)
if ( nRet == KEY_OK)
bKey = true ;
bool bNcOff = false ;
if ( ( nOpt1 & KEYOPT_EMK_NC_OFF) == 1)
if ( ( nOpt1 & KEYOPT_EMK_NC_OFF) != 0)
bNcOff = true ;
bool bAdvMach = false ;
if ( ( nOpt1 & KEYOPT_EMK_ADV) == 1)
if ( ( nOpt1 & KEYOPT_EMK_ADV) != 0)
bAdvMach = true ;
// Esecuzione