]> git.pld-linux.org Git - packages/armst.git/blobdiff - stmbl.patch
- kill one more warning
[packages/armst.git] / stmbl.patch
index ab010413cbb01b58433399d0cb6d6281c4c930c3..c0e52a40b8cfadbf2ab29c97f89583333b83423c 100644 (file)
@@ -1,5 +1,14 @@
 --- stmbl.c.oryg       2012-06-13 15:01:49.000000000 +0200
 +++ stmbl.c    2012-06-13 15:12:51.000000000 +0200
+@@ -118,7 +118,7 @@
+       printf(" chk = %x\n", checksum);
+ #endif
+       // send stream
+-      write(stmbl.device, &prefix_byte, 1);
++      rval = write(stmbl.device, &prefix_byte, 1);
+       rval = write(stmbl.device, buf, size);
+       return rval + write(stmbl.device, &checksum, 1);
+ }
 @@ -127,7 +127,7 @@
  int stmblRecv(uint8_t* buf, unsigned int size)
  {
This page took 0.089417 seconds and 4 git commands to generate.