diff options
author | Florian Jung <flo@windfisch.org> | 2012-03-19 15:13:58 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-03-19 15:13:58 +0000 |
commit | 7200b77f549aef6e92170f110aeda8f5433a3dfc (patch) | |
tree | 4643738bbfdc59aa34ba3e1f682fac9c348d9bc2 /muse2/muse/driver | |
parent | 2800c0e742bdc9d141f6e8c77dbfba1831e8efb2 (diff) |
merged with release_2_0
Diffstat (limited to 'muse2/muse/driver')
-rw-r--r-- | muse2/muse/driver/rtctimer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/driver/rtctimer.cpp b/muse2/muse/driver/rtctimer.cpp index c50fadf6..e232b995 100644 --- a/muse2/muse/driver/rtctimer.cpp +++ b/muse2/muse/driver/rtctimer.cpp @@ -119,7 +119,7 @@ unsigned int RtcTimer::getTimerFreq() { unsigned int freq; int rv = ioctl(timerFd, RTC_IRQP_READ, &freq); - if (rv < 1) + if (rv < 0) return 0; return freq; } |