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,7 @@
|
|||
typedef enum
|
||||
{
|
||||
TEST_PATTERN_ID = 0,
|
||||
BAYONETTE_ID = 1,
|
||||
BAYONET_ID = 1,
|
||||
PISTOL_ID = 2,
|
||||
SHOTGUN_ID = 3,
|
||||
RIFLE_ID = 4,
|
||||
|
|
@ -68,7 +68,7 @@ extern Weapon_t WeaponsByID[NUMBER_OF_WEAPONS];
|
|||
|
||||
__attribute__((always_inline)) inline Weapon_t GetWeaponFromID(WeaponID_t id)
|
||||
{
|
||||
Weapon_t result = WeaponsByID[TEST_PATTERN_ID];
|
||||
Weapon_t result = WeaponsByID[DUBUQUE_PROTOCOL_ID];
|
||||
|
||||
if (id < NUMBER_OF_WEAPONS)
|
||||
{
|
||||
|
|
@ -79,4 +79,3 @@ __attribute__((always_inline)) inline Weapon_t GetWeaponFromID(WeaponID_t id)
|
|||
}
|
||||
|
||||
#endif // WEAPON_H
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue