Revision 23437e98 core/src/aos_main.cpp

View differences:

core/src/aos_main.cpp
217 217
  return result;
218 218
}
219 219

  
220
#if (HAL_USE_RTC == TRUE) || defined(__DOXYGEN__)
221

  
220 222
/**
221 223
 * @brief   Converter function to encode a TM value to a single unsigned 64 bit integer.
222 224
 *
......
274 276
  return;
275 277
}
276 278

  
279
#endif /* HAL_USE_RTC == TRUE */
280

  
277 281
#if (AMIROOS_CFG_SSSP_ENABLE == true) || defined(__DOXYGEN__)
278 282
/**
279 283
 * @brief   Implementation of the SSSP module stack initialization sequence (startup phase 3).
......
1098 1102
   * There must be no delays at this point, thus no hook is allowed.
1099 1103
   */
1100 1104

  
1101
#if (AMIROOS_CFG_SSSP_ENABLE == true)
1105
#if (AMIROOS_CFG_SSSP_ENABLE == true) && (HAL_USE_RTC == TRUE)
1102 1106
  /* synchronize calendars */
1103 1107
  if (shutdown == AOS_SHUTDOWN_NONE) {
1104 1108
#if (AMIROOS_CFG_SSSP_MASTER == true)
......
1156 1160
#endif /* AMIROOS_CFG_SSSP_MASTER == false */
1157 1161
    aosDbgPrintf("\n");
1158 1162
  }
1159
#endif /* AMIROOS_CFG_SSSP_ENABLE == true */
1163
#endif /* (AMIROOS_CFG_SSSP_ENABLE == true) && (HAL_USE_RTC == TRUE) */
1160 1164

  
1161 1165
#if defined(AMIROOS_CFG_MAIN_INIT_HOOK_8)
1162 1166
#if defined(AMIROOS_CFG_MAIN_INIT_HOOK_8_ARGS)

Also available in: Unified diff