On Tuesday 29 September 2015 21:59:31 Anton Lundin wrote:
> -               rc = device->socket->write((char *) data + nbytes, size -
> nbytes); 
> +               rc = device->socket->write((char *) data + nbytes,
> size - nbytes > 16 ? 16 : size - nbytes);

Yeah, that really shows the bug is probably in the receiving firmware, that it 
can't deal with block sends of differing sizes.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to