Feature/mstp valid frame not for us stats (#1053)
* Fixed ISO C90 forbids mixed declarations and code warning. * Fixed the MS/TP invalid frame counter that was incremented for valid frames not for us.
This commit is contained in:
@@ -116,6 +116,9 @@ static void test_MSTP_Datalink(void)
|
||||
zassert_equal(
|
||||
test_stats.receive_valid_frame_counter,
|
||||
MSTP_User.Statistics.receive_valid_frame_counter, NULL);
|
||||
zassert_equal(
|
||||
test_stats.receive_valid_frame_not_for_us_counter,
|
||||
MSTP_User.Statistics.receive_valid_frame_not_for_us_counter, NULL);
|
||||
zassert_equal(
|
||||
test_stats.receive_invalid_frame_counter,
|
||||
MSTP_User.Statistics.receive_invalid_frame_counter, NULL);
|
||||
|
||||
Reference in New Issue
Block a user