Cleanup datatypes.
This commit is contained in:
@@ -17,7 +17,7 @@ void BCTransmitter::onToggleConnectionState( bool connect )
|
||||
if( _canDriver.getState() != BCCanDriver::DriverState::Ready )
|
||||
_canDriver.onStartDriver();
|
||||
|
||||
bcdata_t hwVersion = _canDriver.readRawValue( BCDevice::ID::Console, BC::ID::Cons_Rev_Hw);
|
||||
uint32_t hwVersion = _canDriver.readRawValue( BCDevice::ID::Console, BC::ID::Cons_Rev_Hw);
|
||||
|
||||
if(!hwVersion)
|
||||
{
|
||||
@@ -106,7 +106,7 @@ void BCTransmitter::processValueOp( BC::OpID opID )
|
||||
}
|
||||
}
|
||||
|
||||
bcdata_t BCTransmitter::readRawValue( BCDevice::ID deviceID, BC::ID registerID ) const
|
||||
uint32_t BCTransmitter::readRawValue( BCDevice::ID deviceID, BC::ID registerID ) const
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -119,7 +119,7 @@ bcdata_t BCTransmitter::readRawValue( BCDevice::ID deviceID, BC::ID registerID )
|
||||
|
||||
}
|
||||
|
||||
void BCTransmitter::writeRawValue( BCDevice::ID deviceID, BC::ID registerID, bcdata_t value ) const
|
||||
void BCTransmitter::writeRawValue( BCDevice::ID deviceID, BC::ID registerID, uint8_t value ) const
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user