Skip to content

Commit

Permalink
fixing the waiting time between preamble/programing/postamble for clo…
Browse files Browse the repository at this point in the history
…ck synthesizer programming (#78)

Co-authored-by: Rui Zou <[email protected]>
  • Loading branch information
rzouCERN and Rui Zou authored Oct 22, 2020
1 parent 79dfaba commit 123182e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/cm_mcu/clocksynth.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ int load_clock()
status = write_register(PreambleList, row);
if (status != 0)
return status;
vTaskDelay(pdMS_TO_TICKS(1));
vTaskDelay(pdMS_TO_TICKS(330)); //300 ms minimum
row = sizeof(RegisterList) / sizeof(RegisterList[0]);
status = write_register(RegisterList, row);
if (status != 0)
return status;
vTaskDelay(pdMS_TO_TICKS(1));
vTaskDelay(pdMS_TO_TICKS(330));
row = sizeof(PostambleList) / sizeof(PostambleList[0]);
status = write_register(PostambleList, row);
return status;
Expand Down

0 comments on commit 123182e

Please sign in to comment.