Skip to content

Commit

Permalink
Update some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Sep 16, 2022
1 parent e45c879 commit 8231799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/platform/linux/AppMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ static bool EnsureWiFiIsStarted()
class SampleTestEventTriggerDelegate : public TestEventTriggerDelegate
{
public:
static constexpr uint64_t kSampleTestEventTriggerAlwaysSuccess = static_cast<uint64_t>(0xFFFF'FFFF'FFFF'FFFEull);
/// NOTE: If you copy this, please use the reserved range FFFF_FFFF_<VID_HEX>_xxxx for your trigger codes.
static constexpr uint64_t kSampleTestEventTriggerAlwaysSuccess = static_cast<uint64_t>(0xFFFF'FFFF'FFF1'0000ull);

SampleTestEventTriggerDelegate() { memset(&mEnableKey[0], 0, sizeof(mEnableKey)); }

Expand Down
2 changes: 1 addition & 1 deletion src/python_testing/TC_TestEventTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
kAllZerosKey = bytes(b"\x00" * 16)

# Assumes `SampleTestEventTriggerDelegate` as it exists in Linux AppMain.cpp
kValidEventTrigger = 0xFFFF_FFFF_FFFF_FFFE
kValidEventTrigger = 0xFFFF_FFFF_FFF1_0000
kInvalidEventTrigger = 0 # Per TC-DGEN-2.3


Expand Down

0 comments on commit 8231799

Please sign in to comment.