[AFSK] Using init list

This commit is contained in:
jgromes 2020-07-05 10:03:57 +02:00
parent 1534aab910
commit e89e8a053a

View file

@ -1,9 +1,8 @@
#include "AFSK.h"
#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;
_pin = pin;
}
int16_t AFSKClient::tone(uint16_t freq, bool autoStart) {