File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
BLE_PeriodicAdvertising/source Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ class PeriodicDemo : private mbed::NonCopyable<PeriodicDemo>, public ble::Gap::E
222222 }
223223
224224 /* we will put the battery level data in there and update it every second */
225- update_paylod ();
225+ update_payload ();
226226
227227 error = _gap.startPeriodicAdvertising (_adv_handle);
228228
@@ -237,7 +237,7 @@ class PeriodicDemo : private mbed::NonCopyable<PeriodicDemo>, public ble::Gap::E
237237 _event_queue.call_every (1000 , this , &PeriodicDemo::update_sensor_value);
238238 }
239239
240- void update_paylod ()
240+ void update_payload ()
241241 {
242242 /* advertising payload will have the battery level which we will update */
243243 ble_error_t error = _adv_data_builder.setServiceData (
@@ -480,7 +480,7 @@ class PeriodicDemo : private mbed::NonCopyable<PeriodicDemo>, public ble::Gap::E
480480 }
481481
482482 _battery_service.updateBatteryLevel (_battery_level);
483- update_paylod ();
483+ update_payload ();
484484 }
485485
486486 /* * Blink LED to show we're running */
You can’t perform that action at this time.
0 commit comments