Skip to content

Commit

Permalink
Merge pull request ARMmbed#52 from ARMmbed/warn_if_non_volatile_mem
Browse files Browse the repository at this point in the history
EddystoneService: warn if targeting a chipset that does not have non-volatile memory configured
  • Loading branch information
Andres Amaya Garcia committed Jan 20, 2016
2 parents 3edde9b + de8acee commit ad037f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@
build/
yotta_modules/
yotta_targets/
.DS_Store
1 change: 1 addition & 0 deletions BLE_EddystoneService/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ static void bleInitComplete(BLE::InitializationCompleteCallbackContext* initCont
initializeEddystoneToDefaults(ble);
}
#else
#warning "EddystoneService is not configured to store configuration data in non-volatile memory"
initializeEddystoneToDefaults(ble);
#endif

Expand Down

0 comments on commit ad037f4

Please sign in to comment.