SystemK v1.00 (#9)
This change cleans up the final bits before the release of SystemK version 1.00. It implements the [KTag Beacon Specification v0.12](https://ktag.clubk.club/Technology/BLE/KTag%20Beacon%20Specification%20v0.12.pdf). Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #9
This commit is contained in:
parent
6d8dab53e0
commit
f80cb59828
82 changed files with 300 additions and 132 deletions
|
|
@ -26,7 +26,9 @@ static void Initializing_Entry(StateMachineContext_T * context);
|
|||
static void Initializing_Do(StateMachineContext_T * context);
|
||||
static void Initializing_Exit(StateMachineContext_T * context);
|
||||
|
||||
#ifdef PSOC_PLATFORM
|
||||
static const char *KLOG_TAG = "STATE_INITIALIZING";
|
||||
#endif // PSOC_PLATFORM
|
||||
|
||||
static bool Startup_Sound_Complete = false;
|
||||
|
||||
|
|
@ -109,9 +111,12 @@ static void Initializing_Exit(StateMachineContext_T * context)
|
|||
AudioAction_T audio_action = {.ID = AUDIO_SILENCE, .Data = (void *)0x00};
|
||||
Perform_Audio_Action(&audio_action);
|
||||
|
||||
//! \todo Add a menu item to change the weapon.
|
||||
#ifdef PSOC_PLATFORM
|
||||
//! \todo Add a menu item to change the weapon on the 2020TPC.
|
||||
// On the ESP32 platform, the weapon can be set via the USB stick.
|
||||
KLOG_WARN(KLOG_TAG, "Weapon hardcoded to the Dubuque Protocol!");
|
||||
uint8_t weapon_ID = DUBUQUE_PROTOCOL_ID;
|
||||
(void) SETTINGS_set_uint8_t(SYSTEMK_SETTING_WEAPONID, weapon_ID);
|
||||
(void) SETTINGS_Save();
|
||||
#endif // PSOC_PLATFORM
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue