some minor correction after codacy checks (#82)
need to merge it before RFM69 pull request
This commit is contained in:
1 parent
b0907acc6c
commit
96167743c0
3 files changed
+3
-4
No files matched your search
+1
-1
@@ -158,7 +158,6 @@ void MQTTtoIR(char * topicOri, char * datacallback) {
|
||||
|
||||
//We look into the subject to see if a special Bits number is defined
|
||||
String topic = topicOri;
|
||||
int valueRPT = 0;
|
||||
unsigned int valueBITS = 0;
|
||||
int pos = topic.lastIndexOf(IRbitsKey);
|
||||
if (pos != -1){
|
||||
@@ -168,6 +167,7 @@ void MQTTtoIR(char * topicOri, char * datacallback) {
|
||||
trc(String(valueBITS));
|
||||
}
|
||||
//We look into the subject to see if a special repeat number is defined
|
||||
int valueRPT = 0;
|
||||
int pos2 = topic.lastIndexOf(IRRptKey);
|
||||
if (pos2 != -1) {
|
||||
pos2 = pos2 + strlen(IRRptKey);
|
||||
|
||||
Reference in new issue
Block a user