Bug Report — 20191026 — Another the resolve

This resolve will be used in any FrameCount you set up in downloader of EP iLogic. 

[Another the resolve]
case 0x6A:
{    static int MaxInfoLen=0;
     unsigned char i,infolen;
     if( (pld->LgInfoPos+StartAddr*MaxInfoLen+infolen)>(EEP_SIZE+100) ) {
       *pSend = 0x82; pSend++; SendLen++;
     } else {
       *pSend = 0x80; pSend++; SendLen++;
     *pSend = (StartAddr & 0xFF00) >> 8;    pSend++; SendLen++;
     *pSend = StartAddr;                    pSend++; SendLen++;
     infolen = *Code;  Code++;
     if( MaxInfoLen < infolen)  MaxInfoLen = infolen;
     for(i=0 ; i<infolen ; i++) {
       my_eeprom_write_byte( pld->LgInfoPos+  StartAddr*MaxInfoLen+i  ,*Code );  Code++;

Author: ivan10232006

https://twicss.wordpress.com, epOffice | twicss Projects https://ivansphoto123.wordpress.com, Nikon D80 Photo Albums. https://dca.epoffice.org/wordpress DCA Store

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: