Permalink
Browse files

skip writing NULL bytes

  • Loading branch information...
simonrupf committed Sep 16, 2017
1 parent fc772e8 commit 3e88bade3e9df504ec3234287bfff8e1eac6a9e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/MonSens/MonSens.cpp
@@ -88,7 +88,7 @@ void IMonSens_Communicator::writeProgMem(const char* mem) {
char c;
for (i = 0, c = 1; c; ++i) {
c = pgm_read_byte_near(mem + i);
write(c);
if (c) write(c);
}
}

0 comments on commit 3e88bad

Please sign in to comment.