stm32duino / STM32RTC

Arduino RTC library for STM32.
127 stars 48 forks source link

'HOUR_AM' was not declared in this scope #13

Closed mahmood-ul-hassan closed 5 years ago

mahmood-ul-hassan commented 5 years ago

cant find any solution of this problem

..\Arduino\libraries\STM32RTC\src/STM32RTC.h:66:10: error: 'HOUR_AM' was not declared in this scope

 AM = HOUR_AM,

      ^~~~~~~

..\Arduino\libraries\STM32RTC\src/STM32RTC.h:67:10: error: 'HOUR_PM' was not declared in this scope

 PM = HOUR_PM
fpistm commented 5 years ago

Hi @mahmood-ul-hassan You used the master of this library which required the master of the core. See #12

mahmood-ul-hassan commented 5 years ago

yes i used the master thanks for the help :+1:

fpistm commented 5 years ago

Welcome. When the core will be release this one will also be released to be aligned. Using the board manager and library manager from Arduino IDE will update properly dependencies.