diff --git a/examples/AppSerialController/AppSerialController.ino b/examples/AppSerialController/AppSerialController.ino index 5ed3175..aefe09e 100644 --- a/examples/AppSerialController/AppSerialController.ino +++ b/examples/AppSerialController/AppSerialController.ino @@ -101,7 +101,7 @@ void program_pl_tx() { long pl_tx = atof(pl_tx_buffer); Serial.print(" Which is FLOAT of "); Serial.println(pl_tx,DEC); - radio.setCtcssEncoder(pl_tx); + radio.setCtcss(pl_tx); } void pl_tone_rx() { @@ -128,7 +128,7 @@ void program_pl_rx() { long pl_rx = atof(pl_rx_buffer); Serial.print(" Which is FLOAT of "); Serial.println(pl_rx,DEC); - radio.setCtcssDecoder(pl_rx); + radio.setCtcss(pl_rx); } diff --git a/library.properties b/library.properties index 362030a..204431d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=HamShield -version=1.1.0 +version=1.1.1 author=Morgan Redfield , Casey Halverson maintainer=Morgan Redfield sentence=A library for use with HamShield by Enhanced Radio Devices. diff --git a/src/HamShield.cpp b/src/HamShield.cpp index 70e733b..c8a2d4e 100644 --- a/src/HamShield.cpp +++ b/src/HamShield.cpp @@ -1343,7 +1343,7 @@ bool HamShield::frequency(uint32_t freq_khz) { return false; } -bool HamShield::frequency(float freq_khz) { +bool HamShield::frequency_float(float freq_khz) { if((freq_khz >= 134000) && (freq_khz <= 174000)) { setTxBand2m(); diff --git a/src/HamShield.h b/src/HamShield.h index aa7c8ad..8b07770 100644 --- a/src/HamShield.h +++ b/src/HamShield.h @@ -245,7 +245,7 @@ class HamShield { void safeMode(); bool frequency(uint32_t freq_khz); - bool frequency(float freq_khz); + bool frequency_float(float freq_khz); uint32_t getFrequency(); float getFrequency_float();