ArduinoCore-samd/libraries
Cristian Maglie 024e089d66 [Wire] simplified coding unnecessarily complex (hfvogt)
In the wire library there are several functions where
an unnecessarily complex coding has been used:

  - endTransmission: the availability of data is already
    checked in while(...), therefore need not be checked
    again in the loop.
  - requestFrom: the for-loop has a predefined and fixed
    number of loops. Therefore a check whether the last
    element has been reached is unnecessary and does not
    add any benefit.

Fixes #20
2015-08-13 18:07:53 +02:00
..
SAMD_AnalogCorrection Added SAMD specific library for ADC result correction. 2015-05-20 15:17:25 +02:00
SPI Other license cleanup 2015-06-15 14:25:42 +02:00
USBHost Fixed metadata on USBHost 2015-07-18 20:40:23 +02:00
Wire [Wire] simplified coding unnecessarily complex (hfvogt) 2015-08-13 18:07:53 +02:00