File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ ZigbeeCore::ZigbeeCore() {
20
20
_scan_status = ZB_SCAN_FAILED;
21
21
_started = false ;
22
22
_connected = false ;
23
- _scan_duration = 4 ; // maximum scan duration
23
+ _scan_duration = 4 ; // maximum scan duration
24
24
if (!lock) {
25
25
lock = xSemaphoreCreateBinary ();
26
26
if (lock == NULL ) {
@@ -182,7 +182,7 @@ void ZigbeeCore::setPrimaryChannelMask(uint32_t mask) {
182
182
}
183
183
184
184
void ZigbeeCore::setScanDuration (uint8_t duration) {
185
- if (duration < 1 || duration > 4 ) {
185
+ if (duration < 1 || duration > 4 ) {
186
186
log_e (" Invalid scan duration, must be between 1 and 4" );
187
187
return ;
188
188
}
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ class ZigbeeCore {
110
110
void setHostConfig (esp_zb_host_config_t config);
111
111
esp_zb_host_config_t getHostConfig ();
112
112
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
115
115
uint8_t getScanDuration () {
116
116
return _scan_duration;
117
117
}
You can’t perform that action at this time.
0 commit comments