code cleanup and improvment (#339)

* replace string by char array comparison

* take mac adress from user_config for arduino ethernet shield

* remove code for managing HM10 with version < v6xx

* add sys measure call for arduino mega

* code size decrease and optim
This commit is contained in:
Florian authored and GitHub committed 2019-01-05 18:11:30 +01:00
1 parent afe4678350
commit c7fe43eb97
5 files changed
+165 -226

No files matched your search

+2 -4
View File
@@ -479,10 +479,8 @@ void IRtoMQTT(){
#ifdef jsonPublishing
void MQTTtoIR(char * topicOri, JsonObject& IRdata) {
String topic = topicOri;
if (topic == subjectMQTTtoIR) {
if (strcmp(topicOri,subjectMQTTtoIR) == 0){
trc(F("MQTTtoIR json data analysis"));
unsigned long data = IRdata["value"];
const char * raw = IRdata["raw"];