Resolution currently only gets set if CONFIG_MCP9808_TRIGGER is also set. If CONFIG_MCP9808_TRIGGER is not set, resolution gets not to '0'. This small bug fix moves resolution to before CONFIG_MCP9808_TRIGGER is checked, so that the resolution is changed as required. Signed-off-by: Steven Daglish <s.c.daglish@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| mcp9808_trigger.c | ||
| mcp9808.c | ||
| mcp9808.h | ||