Skip to content

Commit

Permalink
Fixed: Sender example for Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sivar2311 committed Mar 27, 2022
1 parent 4c17902 commit e33967c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/Sender/Sender.ino
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ void setup_storage() {
storage.begin("ble_remote");

if (storage.exist(UNIQUE_REMOTE_ID) == false) {
storage.add(new ble_remote_control_info_t(UNIQUE_REMOTE_ID, true));
storage.save();
storage.save(new ble_remote_control_info_t(UNIQUE_REMOTE_ID, true));
}
}

Expand Down

0 comments on commit e33967c

Please sign in to comment.