Settings-Datei lesen fertig
This commit is contained in:
@@ -55,7 +55,7 @@ int Can_OpenInterface(int iMotorIndex, const char * ifacename)
|
||||
|
||||
if (settings.iCanSimu)
|
||||
{
|
||||
mylog(LOG_INFO, "CAN: Using simulation mode (motor %d).", iMotorIndex);
|
||||
mylog(LOG_WARNING, "CAN: Using simulation mode (motor %d).", iMotorIndex);
|
||||
intf_data[iMotorIndex].socket = -1;
|
||||
motctrl[iMotorIndex].nSwitchState = 0xF5;
|
||||
motctrl[iMotorIndex].nDriveConnected = 1;
|
||||
|
||||
Reference in New Issue
Block a user