Selector ECC
Example Selector ECC
on errorFrame
{
switch (this.ecc & 0x20)
{
case (0x20):
write ("%d Ch %d RxErr", this.time, this.can);
return;
case (0):
write ("%d Ch %d TxErr", this.time, this.can);
return;
};
}