Add missed updated files

This commit is contained in:
arendst 2017-11-24 17:31:50 +01:00
parent 512566c727
commit 4d3b696c80
2 changed files with 9 additions and 1 deletions

View File

@ -163,7 +163,7 @@
// -- Sensor code selection -----------------------
#define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices
#define USE_DS18x20 // Optional for more than one DS18B20 and/or DS18S20 sensors using library OneWire (+1.5k code)
//#define USE_DS18x20 // Optional for more than one DS18B20 and/or DS18S20 sensors using library OneWire (+1.5k code)
#define USE_I2C // I2C using library wire (+10k code, 0.2k mem) - Disable by //
#define USE_SHT // Add I2C emulating code for SHT1X sensor

View File

@ -241,6 +241,14 @@ void AriluxRfInit()
attachInterrupt(pin[GPIO_ARIRFRCV], AriluxRfInterrupt, CHANGE);
}
}
void AriluxRfDisable()
{
if ((pin[GPIO_ARIRFRCV] < 99) && (pin[GPIO_LED2] < 99)) {
digitalWrite(pin[GPIO_LED2], bitRead(led_inverted, 1)); // Turn off RF
detachInterrupt(pin[GPIO_ARIRFRCV]);
}
}
#endif // USE_ARILUX_RF
/*********************************************************************************************\