File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ ZigbeeCore::ZigbeeCore() {
2020 _scan_status = ZB_SCAN_FAILED;
2121 _started = false ;
2222 _connected = false ;
23- _scan_duration = 4 ; // maximum scan duration
23+ _scan_duration = 4 ; // maximum scan duration
2424 if (!lock) {
2525 lock = xSemaphoreCreateBinary ();
2626 if (lock == NULL ) {
@@ -182,7 +182,7 @@ void ZigbeeCore::setPrimaryChannelMask(uint32_t mask) {
182182}
183183
184184void ZigbeeCore::setScanDuration (uint8_t duration) {
185- if (duration < 1 || duration > 4 ) {
185+ if (duration < 1 || duration > 4 ) {
186186 log_e (" Invalid scan duration, must be between 1 and 4" );
187187 return ;
188188 }
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ class ZigbeeCore {
110110 void setHostConfig (esp_zb_host_config_t config);
111111 esp_zb_host_config_t getHostConfig ();
112112
113- void setPrimaryChannelMask (uint32_t mask); // By default all channels are scanned (11-26) -> mask 0x07FFF800
114- void setScanDuration (uint8_t duration); // Can be set from 1 - 4. 1 is fastest, 4 is slowest
113+ void setPrimaryChannelMask (uint32_t mask); // By default all channels are scanned (11-26) -> mask 0x07FFF800
114+ void setScanDuration (uint8_t duration); // Can be set from 1 - 4. 1 is fastest, 4 is slowest
115115 uint8_t getScanDuration () {
116116 return _scan_duration;
117117 }
You can’t perform that action at this time.
0 commit comments