Added TODOs
This commit is contained in:
parent
8cbbf3d668
commit
37a94494b4
1 changed files with 2 additions and 0 deletions
|
@ -336,6 +336,7 @@ RADIOLIB_PIN_STATUS Module::digitalRead(RADIOLIB_PIN_TYPE pin) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::tone(RADIOLIB_PIN_TYPE pin, uint16_t value) {
|
void Module::tone(RADIOLIB_PIN_TYPE pin, uint16_t value) {
|
||||||
|
// TODO add tone support for platforms without tone()
|
||||||
#ifndef RADIOLIB_TONE_UNSUPPORTED
|
#ifndef RADIOLIB_TONE_UNSUPPORTED
|
||||||
if(pin != RADIOLIB_NC) {
|
if(pin != RADIOLIB_NC) {
|
||||||
::tone(pin, value);
|
::tone(pin, value);
|
||||||
|
@ -344,6 +345,7 @@ void Module::tone(RADIOLIB_PIN_TYPE pin, uint16_t value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::noTone(RADIOLIB_PIN_TYPE pin) {
|
void Module::noTone(RADIOLIB_PIN_TYPE pin) {
|
||||||
|
// TODO add tone support for platforms without noTone()
|
||||||
#ifndef RADIOLIB_TONE_UNSUPPORTED
|
#ifndef RADIOLIB_TONE_UNSUPPORTED
|
||||||
if(pin != RADIOLIB_NC) {
|
if(pin != RADIOLIB_NC) {
|
||||||
::noTone(pin);
|
::noTone(pin);
|
||||||
|
|
Loading…
Add table
Reference in a new issue