8000 Remove unused handlers · mongoose-os-apps/example-ble-js@9ed20d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ed20d9

Browse files
committed
Remove unused handlers
1 parent 1891245 commit 9ed20d9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

fs/app.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,6 @@ Event.on(GATTC.EV_NOTIFY, function(ev, evdata) {
127127
print('Got notification:', na.data);
128128
}, null);
129129

130-
Event.on(Event.CLOUD_CONNECTED, function() {
131-
online = true;
132-
Shadow.update(0, {ram_total: Sys.total_ram()});
133-
}, null);
134-
135-
Event.on(Event.CLOUD_DISCONNECTED, function() {
136-
online = false;
137-
}, null);
138-
139130
let subscriber = undefined;
140131

141132
GATTS.registerService(

0 commit comments

Comments
 (0)
0