We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is wrong bit name in file portserial.c in function void vMBPortSerialEnable( BOOL xRxEnable, BOOL xTxEnable ) :
void vMBPortSerialEnable( BOOL xRxEnable, BOOL xTxEnable )
if( xTxEnable ) { UCSRB |= _BV( TXEN ) | _BV( UDRE ); #ifdef RTS_ENABLE RTS_HIGH; #endif } else { UCSRB &= ~( _BV( UDRE ) ); }
Must be:
if( xTxEnable ) { UCSRB |= _BV( TXEN ) | _BV( UDRIE ); #ifdef RTS_ENABLE RTS_HIGH; #endif } else { UCSRB &= ~( _BV( UDRIE ) ); }
May be UDRIE must be defined like #define UDRIE UDRIE0 //or UDRIE1 in file port.h
UDRIE
#define UDRIE UDRIE0 //or UDRIE1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is wrong bit name in file portserial.c in function
void vMBPortSerialEnable( BOOL xRxEnable, BOOL xTxEnable )
:Must be:
May be
UDRIE
must be defined like#define UDRIE UDRIE0 //or UDRIE1
in file port.hThe text was updated successfully, but these errors were encountered: