Changed lib for dlopen
This commit is contained in:
@@ -71,7 +71,8 @@ BCDriver::DriverStateResult BCDriverTinyCan::loadDriver()
|
||||
auto callLoadDriver = [&]() -> DriverStateResult
|
||||
{
|
||||
qDebug() << " -- Hier!";
|
||||
if( ::LoadDriver( NULL ) < 0 )
|
||||
//if( ::LoadDriver( NULL ) < 0 )
|
||||
if( ::LoadDriver( "libmhstcan.so" ) < 0 )
|
||||
return std::unexpected(QString("Driver Error: 'LoadDriver'"));
|
||||
_driverState = DriverState::Loaded;
|
||||
return _driverState;
|
||||
|
||||
Reference in New Issue
Block a user