Skip to content

Commit

Permalink
Selfclean fix
Browse files Browse the repository at this point in the history
  • Loading branch information
redakker committed Nov 20, 2023
1 parent 0822cd1 commit f7ecb49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ void BlueTooth::onResult(BLEAdvertisedDevice advertisedDevice) {
Device dev = devices.get(i);
if (deviceMac == dev.mac) {

dev.available = true;
handleDeviceChange(dev);

dev.lastSeen = millis();
dev.mark = DEVICE_DROP_OUT_COUNT;
dev.available = true;

devices.set(i, dev);
newFound = false;

Expand Down
4 changes: 2 additions & 2 deletions src/webcontent.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ BLEcker
<a class="button w100" href="/">home</a>
<a class="button w100" href="/update">update</a>
<!--<a class="button w100 button-danger" id="reset" href="#">reset</a>-->
<div class="version" id="version">v1.11 - 160</div>
<div class="version" id="version">v1.11 - 161</div>
<div class="version" id="chip"></div>
<div id="footer">
<div><a href="https://github.com/redakker/blecker" target="_blank">blecker</a></div>
Expand Down Expand Up @@ -1564,7 +1564,7 @@ BLEcker
<a class="button w100" href="/">home</a>
<a class="button w100" href="/update">update</a>
<!--<a class="button w100 button-danger" id="reset" href="#">reset</a>-->
<div class="version" id="version">v1.11 - 160</div>
<div class="version" id="version">v1.11 - 161</div>
<div id="footer">
<div><a href="https://github.com/redakker/blecker" target="_blank">blecker</a></div>
</div>
Expand Down

0 comments on commit f7ecb49

Please sign in to comment.