Chen Wang 16475b3c92 bsp: cvitek: fix warning on rtc driver
When RTC is enabled, a warning appear during compiling:
warning: implicit declaration of function 'rtc_alarm_enable' [-Wimplicit-function-declaration]
  366 |     rtc_alarm_enable(alarm->enable);
      |     ^~~~~~~~~~~~~~~~

It's due to _rtc_set_alarm is not covered by RT_USING_ALARM. It's wrong.

Solution: cover all functions including _rtc_get_alarm & _rtc_set_alarm
under RT_USING_ALARM macro conditional defintion.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2024-11-26 21:45:00 -05:00
..
2024-09-29 12:36:19 -04:00
2024-10-20 12:18:28 -04:00
2024-11-13 22:56:32 -05:00
2024-08-28 18:31:59 -04:00
2024-10-11 18:32:58 -04:00
2023-11-20 07:34:46 -05:00

RT-THREAD bsp company list