Skip to content

Commit

Permalink
Correct logic mistake in rx only mode bug fix
Browse files Browse the repository at this point in the history
Correct logic mistake in:

Test rx only modification in fdserial
b3f5a30

Addresses:
#163  libgps needs update to disable Tx pin bug
  • Loading branch information
AndyLindsay committed Dec 20, 2017
1 parent c29e910 commit afb9c0f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified Learn/Simple Libraries/TextDevices/libfdserial/cmm/libfdserial.a
Binary file not shown.
2 changes: 1 addition & 1 deletion Learn/Simple Libraries/TextDevices/libfdserial/fdserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int fdserial_txChar(fdserial *term, int txbyte)
int rc = -1;
fdserial_st *fdptr = (fdserial_st *) term->devst;
//if(!fdptr->rxOnly)
if(fdptr->mode & FDSERIAL_MODE_RX_ONLY)
if(!(fdptr->mode & FDSERIAL_MODE_RX_ONLY))
{
volatile fdserial_st* fdp = (fdserial_st*) term->devst;
volatile char* txbuf = (volatile char*) fdp->buffptr + FDSERIAL_BUFF_MASK+1;
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.37
v1.4.38

0 comments on commit afb9c0f

Please sign in to comment.