[AFSK] Using init list
This commit is contained in:
parent
1534aab910
commit
e89e8a053a
1 changed files with 1 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
||||||
#include "AFSK.h"
|
#include "AFSK.h"
|
||||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||||
|
|
||||||
AFSKClient::AFSKClient(PhysicalLayer* phy, RADIOLIB_PIN_TYPE pin) {
|
AFSKClient::AFSKClient(PhysicalLayer* phy, RADIOLIB_PIN_TYPE pin): _pin(pin) {
|
||||||
_phy = phy;
|
_phy = phy;
|
||||||
_pin = pin;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t AFSKClient::tone(uint16_t freq, bool autoStart) {
|
int16_t AFSKClient::tone(uint16_t freq, bool autoStart) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue