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-08-23 18:15:09 -04:00
2024-09-30 18:50:15 -04:00
2024-11-24 11:34:30 +08:00
2024-10-23 17:08:29 -04:00
2024-06-20 14:40:42 +08:00
2024-09-26 18:08:41 -04:00
2024-06-20 14:40:42 +08:00
2024-10-23 17:08:29 -04:00
2024-09-29 12:36:19 -04:00
2024-10-23 17:08:29 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-10-11 18:32:58 -04:00
2024-10-23 17:08:29 -04:00
2024-06-20 14:40:42 +08:00
2024-11-24 11:29:28 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-11-26 21:45:00 -05:00
2024-10-23 17:08:29 -04:00
2024-10-11 18:32:58 -04:00
2024-11-14 20:11:37 +08:00
2024-09-29 20:49:57 -04:00
2024-10-20 12:18:28 -04:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-11-13 22:56:32 -05:00
2024-11-24 11:34:30 +08:00
2024-10-19 12:23:07 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-11-24 11:34:30 +08:00
2024-08-28 18:31:59 -04:00
2024-11-06 18:19:13 +08:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-11-24 11:29:28 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-10-11 18:32:58 -04:00
2024-08-23 18:15:09 -04:00
2024-09-13 17:40:40 -04:00
2024-08-08 14:08:59 +08:00
2024-09-13 17:40:40 -04:00
2024-10-11 18:32:58 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-09-29 12:33:10 -04:00
2024-06-20 14:40:42 +08:00
2024-09-10 19:53:01 -04:00
2024-09-13 17:40:40 -04:00
2024-10-11 18:32:58 -04:00
2024-11-24 11:34:30 +08:00
2024-06-20 14:40:42 +08:00
2024-11-24 11:29:28 +08:00
2024-10-11 18:32:58 -04:00
2024-11-26 20:04:31 +08:00
2024-11-24 11:29:28 +08:00
2024-10-11 18:32:58 -04:00
2024-09-13 17:40:40 -04:00
2024-08-13 04:13:51 -04:00
2024-11-24 11:29:28 +08:00
2024-11-24 11:29:28 +08:00
2024-10-27 14:53:40 +08:00
2024-10-30 23:47:38 +08:00
2024-06-20 14:40:42 +08:00
2024-11-24 11:29:28 +08:00
2024-06-20 14:40:42 +08:00
2024-10-11 18:32:58 -04:00
2024-06-20 14:40:42 +08:00
2024-10-11 18:32:58 -04:00
2024-10-11 18:32:58 -04:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-11-24 11:34:30 +08:00
2024-09-13 17:40:40 -04:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-06-20 14:40:42 +08:00
2024-10-23 17:08:29 -04:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-10-11 18:32:58 -04:00
2024-06-20 14:40:42 +08:00
2024-10-01 06:06:50 +08:00
2024-09-13 17:40:40 -04:00
2024-06-20 14:40:42 +08:00
2024-10-11 18:32:58 -04:00
2024-11-24 11:34:30 +08:00
2024-06-20 14:40:42 +08:00
2024-09-13 17:40:40 -04:00
2024-04-21 01:18:37 -04:00
2023-11-20 07:34:46 -05:00