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:
Andre Guedes 2016-02-16 16:07:38 -02:00 committed by Gerrit Code Review
parent e080b38f85
commit ccab7d0d6f

View file

@ -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)
{