mirror of https://github.com/arendst/Tasmota.git
parent
e2040b70de
commit
09f8a7967e
|
@ -424,7 +424,7 @@ void SonoffBridgeLearn(uint8_t key)
|
||||||
* Commands
|
* Commands
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
void CmndRfBridge() // RfSync, RfLow, RfHigh, RfHost and RfCode
|
void CmndRfBridge(void) // RfSync, RfLow, RfHigh, RfHost and RfCode
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
char stemp [10];
|
char stemp [10];
|
||||||
|
|
|
@ -79,7 +79,7 @@ void BuzzerEnabledBeep(uint32_t count)
|
||||||
|
|
||||||
/*********************************************************************************************/
|
/*********************************************************************************************/
|
||||||
|
|
||||||
bool BuzzerPinState()
|
bool BuzzerPinState(void)
|
||||||
{
|
{
|
||||||
if (XdrvMailbox.index == GPIO_BUZZER_INV) {
|
if (XdrvMailbox.index == GPIO_BUZZER_INV) {
|
||||||
Buzzer.inverted = 1;
|
Buzzer.inverted = 1;
|
||||||
|
|
|
@ -82,7 +82,7 @@ void CounterUpdate4(void)
|
||||||
|
|
||||||
/********************************************************************************************/
|
/********************************************************************************************/
|
||||||
|
|
||||||
bool CounterPinState()
|
bool CounterPinState(void)
|
||||||
{
|
{
|
||||||
if ((XdrvMailbox.index >= GPIO_CNTR1_NP) && (XdrvMailbox.index < (GPIO_CNTR1_NP + MAX_COUNTERS))) {
|
if ((XdrvMailbox.index >= GPIO_CNTR1_NP) && (XdrvMailbox.index < (GPIO_CNTR1_NP + MAX_COUNTERS))) {
|
||||||
bitSet(counter_no_pullup, XdrvMailbox.index - GPIO_CNTR1_NP);
|
bitSet(counter_no_pullup, XdrvMailbox.index - GPIO_CNTR1_NP);
|
||||||
|
|
Loading…
Reference in New Issue