samples: rtc: Decrease alarm timeout value
The current value for RTC alarm has been a bit annoying during RTC tests since we have to wait 10 seconds to verify that the RTC driver is working properly. So this patch changes the alarm timeout to 1 second. Change-Id: I2ef2aaeb13a4f53c8ab294ffedc198e8f3ba92a7 Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
parent
e080b38f85
commit
ccab7d0d6f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
#include <rtc.h>
|
||||
#include <misc/printk.h>
|
||||
|
||||
#define ALARM (RTC_ALARM_MINUTE / 6)
|
||||
#define ALARM (RTC_ALARM_SECOND)
|
||||
|
||||
void test_rtc_interrupt_fn(struct device *rtc_dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue