diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-05-15 13:26:34 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-05-15 13:26:34 +0200 |
commit | 0af2ea25f0df045d6d45ae0487c6d5022490a4c4 (patch) | |
tree | b3d3a334c82192e26f31cf23ee1741e0f5baf9ce /test/monniaux/lustrev4_lustrec_heater_control | |
parent | 8a456dbb08948c1c24076cea6b87dc938276263b (diff) | |
download | compcert-kvx-0af2ea25f0df045d6d45ae0487c6d5022490a4c4.tar.gz compcert-kvx-0af2ea25f0df045d6d45ae0487c6d5022490a4c4.zip |
Lustre v4 example
Diffstat (limited to 'test/monniaux/lustrev4_lustrec_heater_control')
-rw-r--r-- | test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c b/test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c index f985e2af..351deed6 100644 --- a/test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c +++ b/test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c @@ -27,7 +27,7 @@ int main (int argc, char *argv[]) { heater_control_reset(&main_mem); /* Infinite loop */ - while(1){ + for(int loop_count=0; loop_count<1000; loop_count++){ double T = _get_double(); double T1 = _get_double(); double T2 = _get_double(); |