Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263653
b: refs/heads/master
c: ea7802f
h: refs/heads/master
i:
  263651: 4631b79
v: v3
  • Loading branch information
John Stultz committed Aug 10, 2011
1 parent acb0439 commit 908112e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 971c90bfa2f0b4fe52d6d9002178d547706f1343
refs/heads/master: ea7802f630d356acaf66b3c0b28c00a945fc35dc
2 changes: 2 additions & 0 deletions trunk/kernel/time/alarmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ static int alarm_timer_create(struct k_itimer *new_timer)
static void alarm_timer_get(struct k_itimer *timr,
struct itimerspec *cur_setting)
{
memset(cur_setting, 0, sizeof(struct itimerspec));

cur_setting->it_interval =
ktime_to_timespec(timr->it.alarmtimer.period);
cur_setting->it_value =
Expand Down

0 comments on commit 908112e

Please sign in to comment.