feat: publish FreeRTOS C FC04 card
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "task01_delay_state_model.h"
|
||||
|
||||
int main( void )
|
||||
{
|
||||
const uint32_t exact[] = { 0U, 2U, 4U, 6U };
|
||||
const uint32_t drift[] = { 0U, 2U, 5U, 7U };
|
||||
|
||||
assert( fc04_periods_are_exact( exact, 4U, 2U ) == 1 );
|
||||
assert( fc04_periods_are_exact( drift, 4U, 2U ) == 0 );
|
||||
assert( fc04_periods_are_exact( exact, 1U, 2U ) == 0 );
|
||||
puts( "PASS FC04 model: exact periodic release deltas" );
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user