Converted more code to be easier to generalize to larger CAN payloads
for CAN-FD. Improved some code to be faster. Fixed up some compile time warnings.
This commit is contained in:
@@ -97,15 +97,6 @@ public:
|
||||
else return formatHexNum(value);
|
||||
}
|
||||
|
||||
static QString formatNumber(char value)
|
||||
{
|
||||
if (decimalMode)
|
||||
{
|
||||
return QString::number((unsigned char)value, 10);
|
||||
}
|
||||
else return formatHexNum((unsigned char)value);
|
||||
}
|
||||
|
||||
static QString formatCANID(uint64_t id, bool extended)
|
||||
{
|
||||
if (decimalMode) return QString::number(id, 10);
|
||||
|
||||
Reference in New Issue
Block a user