You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Add time simulation infrastructure for GHST telemetry tests
Implemented scheduler-aware testing infrastructure:
- Added fakeMicros clock with testAdvanceMicros() helper function
- Changed serialTxBytesFree() to return 64 to allow frame transmission
- Added time advancement between processGhst() calls
- Properly declared helper function in extern C block
Tests still fail with zero values, indicating the GHST frame scheduler
requires additional conditions beyond basic time advancement:
- Frame type rotation logic
- Telemetry enable/disable state
- Inter-frame timing requirements
- Schedule index state progression
Tests remain DISABLED with updated documentation. Infrastructure is complete
for future enabling once scheduler requirements are fully understood.
All 38 test files pass, 2 tests disabled with full documentation.
0 commit comments