From 0af2ea25f0df045d6d45ae0487c6d5022490a4c4 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 15 May 2019 13:26:34 +0200 Subject: Lustre v4 example --- test/monniaux/lustrev4_lustrec_heater_control/heater_control_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/monniaux/lustrev4_lustrec_heater_control') 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(); -- cgit