aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/lustrev4_lustrec_heater_control
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-15 13:26:34 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-15 13:26:34 +0200
commit0af2ea25f0df045d6d45ae0487c6d5022490a4c4 (patch)
treeb3d3a334c82192e26f31cf23ee1741e0f5baf9ce /test/monniaux/lustrev4_lustrec_heater_control
parent8a456dbb08948c1c24076cea6b87dc938276263b (diff)
downloadcompcert-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.c2
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();