kopia lustrzana https://github.com/jgromes/RadioLib
[RTTY] Chore: uncrustify formatting
rodzic
45cc32b50a
commit
f1db2493eb
|
@ -28,7 +28,7 @@ int16_t RTTYClient::begin(float base, uint32_t shift, uint16_t rate, uint8_t enc
|
||||||
shiftFreqHz = shift;
|
shiftFreqHz = shift;
|
||||||
|
|
||||||
// calculate duration of 1 bit
|
// calculate duration of 1 bit
|
||||||
bitDuration = (RadioLibTime_t)1000000/rate;
|
bitDuration = (RadioLibTime_t)1000000 / rate;
|
||||||
|
|
||||||
// calculate module carrier frequency resolution
|
// calculate module carrier frequency resolution
|
||||||
uint32_t step = round(phyLayer->freqStep);
|
uint32_t step = round(phyLayer->freqStep);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
\class RTTYClient
|
\class RTTYClient
|
||||||
\brief Client for RTTY communication. The public interface is the same as Arduino Serial.
|
\brief Client for RTTY communication. The public interface is the same as Arduino Serial.
|
||||||
*/
|
*/
|
||||||
class RTTYClient: public RadioLibPrint {
|
class RTTYClient : public RadioLibPrint {
|
||||||
public:
|
public:
|
||||||
/*!
|
/*!
|
||||||
\brief Constructor for 2-FSK mode.
|
\brief Constructor for 2-FSK mode.
|
||||||
|
@ -61,9 +61,9 @@ class RTTYClient: public RadioLibPrint {
|
||||||
*/
|
*/
|
||||||
size_t write(uint8_t b) override;
|
size_t write(uint8_t b) override;
|
||||||
|
|
||||||
#if !RADIOLIB_GODMODE
|
#if !RADIOLIB_GODMODE
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
PhysicalLayer* phyLayer;
|
PhysicalLayer* phyLayer;
|
||||||
#if !RADIOLIB_EXCLUDE_AFSK
|
#if !RADIOLIB_EXCLUDE_AFSK
|
||||||
AFSKClient* audioClient;
|
AFSKClient* audioClient;
|
||||||
|
|
Ładowanie…
Reference in New Issue