File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -155,18 +155,6 @@ typedef void(*voidCallbackPtr)(void *);
155
155
#define IS_RTC_HOUR12 (HOUR ) IS_RTC_HOUR24(HOUR)
156
156
#endif /* !STM32F1xx && !IS_RTC_WEEKDAY */
157
157
158
- /* __HAL_RCC_GET_RTC_SOURCE is not defined for F2*/
159
- /*
160
- #ifndef __HAL_RCC_GET_RTC_SOURCE
161
- static uint32_t RTC_getSource(void) {
162
- RCC_PeriphCLKInitTypeDef *PeriphClkInit;
163
- HAL_RCCEx_GetPeriphCLKConfig(PeriphClkInit);
164
- return PeriphClkInit->RTCClockSelection;
165
- }
166
- #define __HAL_RCC_GET_RTC_SOURCE() RTC_getSource()
167
- #endif
168
- */
169
-
170
158
/* Exported macro ------------------------------------------------------------*/
171
159
/* Exported functions ------------------------------------------------------- */
172
160
void RTC_SetClockSource (sourceClock_t source );
You can’t perform that action at this time.
0 commit comments