|
@@ -337,8 +337,8 @@ int main(void)
|
|
|
|
|
|
|
|
/* Infinite loop */
|
|
/* Infinite loop */
|
|
|
/* USER CODE BEGIN WHILE */
|
|
/* USER CODE BEGIN WHILE */
|
|
|
- // RTC_DateTimeTypeDef now;
|
|
|
|
|
- // RTC_GetDateTime(&hrtc, &now);
|
|
|
|
|
|
|
+ RTC_DateTimeTypeDef now;
|
|
|
|
|
+ RTC_GetDateTime(&hrtc, &now);
|
|
|
|
|
|
|
|
printf("Device is ready\r\n");
|
|
printf("Device is ready\r\n");
|
|
|
printf("设备地址:0x%02X%02X\n", deviceInfo.loraDeviceAddress_H, deviceInfo.loraDeviceAddress_L);
|
|
printf("设备地址:0x%02X%02X\n", deviceInfo.loraDeviceAddress_H, deviceInfo.loraDeviceAddress_L);
|