diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2016-10-26 13:08:39 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-26 20:51:09 +0000 |
commit | 20308553999f326cee75880366e41642876da563 (patch) | |
tree | 3685ffe401bd0dc8a788a26e9a214ad420e42f16 /drivers | |
parent | 807a103653c0c636eb68d3fa14186eb9121c4c8b (diff) |
sensor/hp206c: Correct the SYS_CLOCK_TICKS_PER_SEC diagnostic text.
Correct the text of the SYS_CLOCK_TICKS_PER_SEC #error diagnostic to
reflect the actual logic of the gate.
Change-Id: I28ad324b0b246e4a8de29b64483a97577a1b6fb7
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sensor/hp206c/hp206c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensor/hp206c/hp206c.h b/drivers/sensor/hp206c/hp206c.h index 7db2d141a..0594bed89 100644 --- a/drivers/sensor/hp206c/hp206c.h +++ b/drivers/sensor/hp206c/hp206c.h @@ -86,7 +86,7 @@ struct hp206c_device_data { struct device *i2c; #ifdef CONFIG_NANO_TIMERS #if CONFIG_SYS_CLOCK_TICKS_PER_SEC < 2000 -#error "SYS_CLOCK_TICKS_PER_SEC > 2000 needed for better timeouts granularity." +#error "SYS_CLOCK_TICKS_PER_SEC >= 2000 needed for better timeouts granularity." #endif struct nano_timer tmr; #endif |