message: Revise Ref/Top/init.fpp
  Reorder and reformat init specifiers
diff: @@ -70,11 +70,6 @@ module Ref {
  };
  """
  - init comm phase Fpp.ToCpp.Phases.freeThreads """
  - comm.stopSocketTask();
  - (void) comm.joinSocketTask(NULL);
  - """
  -
  init comm phase Fpp.ToCpp.Phases.startTasks """
  // Initialize socket server if and only if there is a valid specification
  if (state.hostName != NULL && state.portNumber != 0) {
  @@ -89,6 +84,11 @@ module Ref {
  }
  """
  + init comm phase Fpp.ToCpp.Phases.freeThreads """
  + comm.stopSocketTask();
  + (void) comm.joinSocketTask(NULL);
  + """
  +
  # ----------------------------------------------------------------------
  # downlink
  # ----------------------------------------------------------------------
  @@ -133,15 +133,6 @@ module Ref {
  # fileDownlink
  # ----------------------------------------------------------------------
  - init fileDownlink phase Fpp.ToCpp.Phases.configComponents """
  - fileDownlink.configure(
  - ConfigConstants::fileDownlink::TIMEOUT,
  - ConfigConstants::fileDownlink::COOLDOWN,
  - ConfigConstants::fileDownlink::CYCLE_TIME,
  - ConfigConstants::fileDownlink::FILE_QUEUE_DEPTH
  - );
  - """
  -
  init fileDownlink phase Fpp.ToCpp.Phases.configConstants """
  enum {
  TIMEOUT = 1000,
  @@ -151,10 +142,27 @@ module Ref {
  };
  """
  + init fileDownlink phase Fpp.ToCpp.Phases.configComponents """
  + fileDownlink.configure(
  + ConfigConstants::fileDownlink::TIMEOUT,
  + ConfigConstants::fileDownlink::COOLDOWN,
  + ConfigConstants::fileDownlink::CYCLE_TIME,
  + ConfigConstants::fileDownlink::FILE_QUEUE_DEPTH
  + );
  + """
  +
  # ----------------------------------------------------------------------
  # fileUplinkBufferManager
  # ----------------------------------------------------------------------
  + init fileUplinkBufferManager phase Fpp.ToCpp.Phases.configConstants """
  + enum {
  + STORE_SIZE = 3000,
  + QUEUE_SIZE = 30,
  + MGR_ID = 200
  + };
  + """
  +
  init fileUplinkBufferManager phase Fpp.ToCpp.Phases.instances """
  Svc::BufferManagerComponentImpl fileUplinkBufferManager(FW_OPTIONAL_NAME("fileUplinkBufferManager"));
  """
  @@ -175,14 +183,6 @@ module Ref {
  }
  """
  - init fileUplinkBufferManager phase Fpp.ToCpp.Phases.configConstants """
  - enum {
  - STORE_SIZE = 3000,
  - QUEUE_SIZE = 30,
  - MGR_ID = 200
  - };
  - """
  -
  init fileUplinkBufferManager phase Fpp.ToCpp.Phases.tearDownComponents """
  fileUplinkBufferManager.cleanup();
  """
  @@ -191,6 +191,12 @@ module Ref {
  # health
  # ----------------------------------------------------------------------
  + init $health phase Fpp.ToCpp.Phases.configConstants """
  + enum {
  + WATCHDOG_CODE = 0x123
  + };
  + """
  +
  init $health phase Fpp.ToCpp.Phases.instances """
  Svc::HealthImpl health(FW_OPTIONAL_NAME("health"));
  """
  @@ -203,12 +209,6 @@ module Ref {
  );
  """
  - init $health phase Fpp.ToCpp.Phases.configConstants """
  - enum {
  - WATCHDOG_CODE = 0x123
  - };
  - """
  -
  # ----------------------------------------------------------------------
  # linuxTime
  # ----------------------------------------------------------------------
  