mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 05:06:39 +01:00
Merge branch 'jjwbruijn:master' into master
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -119,14 +119,14 @@ void fakePendingData(struct pendingData *pd) {
|
||||
} else {
|
||||
showAPDisplay = false;
|
||||
// check if we should re-init the EPD for the correct image (inverted or not)
|
||||
//if (SisInverted != (pd->availdatainfo.dataTypeArgument & 0x01)) {
|
||||
if (SisInverted != (pd->availdatainfo.dataTypeArgument & 0x01)) {
|
||||
if (pd->availdatainfo.dataTypeArgument & 0x01) {
|
||||
SisInverted = true;
|
||||
} else {
|
||||
SisInverted = false;
|
||||
}
|
||||
epdSetup(SisInverted);
|
||||
//}
|
||||
}
|
||||
epdSetPos(0);
|
||||
|
||||
char *epdp = (char *)&(pd->availdatainfo.dataVer);
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
struct pendingData __xdata pendingDataArr[MAX_PENDING_MACS];
|
||||
|
||||
// VERSION GOES HERE!
|
||||
uint16_t __xdata version = 0x0014;
|
||||
uint16_t __xdata version = 0x0015;
|
||||
|
||||
#define RAW_PKT_PADDING 2
|
||||
|
||||
@@ -740,7 +740,9 @@ void main(void) {
|
||||
// received a packet, lets see what it is
|
||||
switch (getPacketType(radiorxbuffer)) {
|
||||
case PKT_AVAIL_DATA_REQ:
|
||||
processAvailDataReq(radiorxbuffer);
|
||||
if (ret == 28) {
|
||||
processAvailDataReq(radiorxbuffer);
|
||||
}
|
||||
break;
|
||||
case PKT_BLOCK_REQUEST:
|
||||
processBlockRequest(radiorxbuffer, 1);
|
||||
|
||||
Reference in New Issue
Block a user