Jef Driesen 4b2156d378 Fix a bug in the ACK/NAK handling
The write command is send as two separate packets. The first packet
contains the B2 command and the page number, and the second packet
contains the payload and checksum. Because the payload can contain
arbitrary data, the first byte of a packet is not necessary a command
byte. But the code to select the correct ack byte is based on this
assumption. Fixed by passing the expected ack byte.
2020-01-06 21:29:24 +01:00
..
2019-06-21 16:13:27 +02:00
2019-06-21 16:13:27 +02:00
2018-12-05 10:21:09 +01:00
2018-12-17 16:44:48 +01:00
2012-06-21 21:39:24 +02:00
2018-12-06 08:34:29 +01:00
2017-08-18 23:26:45 +02:00
2017-08-18 23:26:45 +02:00
2020-01-06 13:44:07 +01:00
2019-11-21 11:07:07 +01:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2018-01-30 22:00:41 +01:00
2017-08-18 23:26:45 +02:00
2020-01-06 13:44:07 +01:00
2019-03-06 11:04:53 +01:00
2019-11-21 11:07:07 +01:00
2018-02-04 21:21:42 +01:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2019-04-13 11:37:15 +02:00
2017-08-18 23:26:45 +02:00
2018-06-22 23:21:51 +02:00
2018-03-05 08:44:14 +01:00