Skip to content

Commit

Permalink
Merge pull request ARMmbed#13 from ARMmbed/fix_led_blinker
Browse files Browse the repository at this point in the history
Fix call to EventQueue::post_every.
  • Loading branch information
bogdanm authored Aug 2, 2016
2 parents c3bd8de + 3895c2e commit 9fb1e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BLE_LEDBlinker/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void scheduleBleEventsProcessing(BLE::OnEventsToProcessCallbackContext* context)
int main()
{
triggerLedCharacteristic = false;
eventQueue.post_every(periodicCallback, 500);
eventQueue.post_every(500, periodicCallback);

BLE &ble = BLE::Instance();
ble.onEventsToProcess(scheduleBleEventsProcessing);
Expand Down

0 comments on commit 9fb1e59

Please sign in to comment.