Bug found in port23xx.c

[Thanks to Jean-Jacques Dauchot]

Line 641 of the PORT_Pin_Read() in the file port23xx.c should read:

  1. if (IO1PIN & Pin)
  2. {
  3. ...
  4. }

instead of:

  1. if (IO0PIN & Pin)
  2. {
  3. ...
  4. }

— Anjali.