kopia lustrzana https://github.com/fsphil/hadie
Make radio bit change a single operation
rodzic
8d125fb61f
commit
3d9b7b7d7d
3
rtty.c
3
rtty.c
|
@ -30,8 +30,7 @@ void rtx_baud(int baud)
|
|||
|
||||
inline void rtx_bit(uint8_t b)
|
||||
{
|
||||
PORTB &= ~(MARK | SPACE);
|
||||
PORTB |= b;
|
||||
PORTB = (PORTB & ~(MARK | SPACE)) | b;
|
||||
}
|
||||
|
||||
void rtx_byte(uint8_t byte)
|
||||
|
|
Ładowanie…
Reference in New Issue