diff --git a/Modem/main.c b/Modem/main.c index 7851ca4..a6fa726 100644 --- a/Modem/main.c +++ b/Modem/main.c @@ -96,7 +96,7 @@ int main(void) // If there was actually some data waiting for us // there, let's se what it tastes like :) - if (ser_available(&ser)) { + if (!sertx && ser_available(&ser)) { // We then read a byte from the serial port. // Notice that we use "_nowait" since we can't // have this blocking execution until a byte diff --git a/buildrev.h b/buildrev.h index b27b4ef..b3dc872 100644 --- a/buildrev.h +++ b/buildrev.h @@ -1,2 +1,2 @@ -#define VERS_BUILD 1598 +#define VERS_BUILD 1599 #define VERS_HOST "shard"