altelch / iso-tp

ISO 15765-2 TP implementation for Arduino
GNU General Public License v3.0
82 stars 42 forks source link

fc_delay function for exceptional case #13

Closed jinparksj closed 3 years ago

jinparksj commented 3 years ago

Hello,

I would like to ask whether it corrects to use the fc_delay function, changing like below, for exceptional case about minimum separation time.

Original Script void IsoTp::fc_delay(uint8_t sep_time) { if(sep_time < 0x80) delay(sep_time); else delayMicroseconds((sep_time-0xF0)*100); }

Change version void IsoTp::fc_delay(uint8_t sep_time) { /*