Skip to content

Commit c8a939a

Browse files
committed
change min advertising interval
1 parent d89a0b8 commit c8a939a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/bthome_button/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function updateAdvertising(buttonState) {
2121
},
2222
]), {
2323
name : "Sensor",
24-
interval: buttonState?20:2000, // fast when we have a button press, slow otherwise
24+
interval: buttonState?100:2000, // fast when we have a button press, slow otherwise
2525
// not being connectable/scannable saves power (but you'll need to reboot to connect again with the IDE!)
2626
//connectable : false, scannable : false,
2727
});

0 commit comments

Comments
 (0)