[hal] Cache sim TCP data to update during HAL_RefreshDSData (#7360)

This commit is contained in:
Thad House
2024-11-19 04:56:32 +00:00
committed by GitHub
parent d312bccfeb
commit 561078ce29
3 changed files with 92 additions and 36 deletions

View File

@@ -131,6 +131,8 @@ TEST(DriverStationTest, EventInfo) {
info.replayNumber = 42;
HALSIM_SetMatchInfo(&info);
HAL_RefreshDSData();
HAL_MatchInfo dataBack;
HAL_GetMatchInfo(&dataBack);