The original code erroneously used: uint16_t *val; sizeof val instead of: sizeof *val; This commit fixes this problem and removes an unnecessary buffer from the stack Signed-off-by: Pete Dietl <petedietl@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| tmp112.c | ||
| tmp112.h | ||