Pulling in the latest SystemK (with new BLE). #2
2 changed files with 18 additions and 1 deletions
|
@ -157,6 +157,11 @@ SystemKResult_T SETTINGS_get_uint32_t(SystemKSettingID_T id, uint32_t *value)
|
||||||
|
|
||||||
switch (id)
|
switch (id)
|
||||||
{
|
{
|
||||||
|
case SYSTEMK_SETTING_DEVICE_TYPE:
|
||||||
|
*value = BLE_DEVICE_TYPE_32ESPECIAL;
|
||||||
|
return result;
|
||||||
|
break;
|
||||||
|
|
||||||
case SYSTEMK_SETTING_T_START_GAME_in_ms:
|
case SYSTEMK_SETTING_T_START_GAME_in_ms:
|
||||||
key = "T_Start_Game_in_ms";
|
key = "T_Start_Game_in_ms";
|
||||||
break;
|
break;
|
||||||
|
@ -202,6 +207,18 @@ SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_get_device_name(char* name)
|
||||||
|
{
|
||||||
|
SystemKResult_T result = SYSTEMK_RESULT_NOT_IMPLEMENTED;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
SystemKResult_T SETTINGS_set_device_name(char* name)
|
||||||
|
{
|
||||||
|
SystemKResult_T result = SYSTEMK_RESULT_NOT_IMPLEMENTED;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
// Settings are saved on change in this implementation.
|
// Settings are saved on change in this implementation.
|
||||||
SystemKResult_T SETTINGS_Save(void)
|
SystemKResult_T SETTINGS_Save(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4fe072f2d3280b19aa53e197bd22ec44b174ff88
|
Subproject commit 9386bd6ed01cac135878c4db5275588d0fc53ee0
|
Loading…
Add table
Add a link
Reference in a new issue