Skip to content

Commit

Permalink
pico: temp: Remove unused defines
Browse files Browse the repository at this point in the history
Removes the unused defines.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
  • Loading branch information
sasataku committed Nov 25, 2024
1 parent 2bd670c commit 2896abe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pico/src/temp.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(temp, LOG_LEVEL_DBG);

#define DEV_ADDR (0x4e)
#define START_ADDR (0x00)
#define RESOLUTION (0.0625f)
#define BIT_SHIFT (4)

int get_temp(float *temp) {

const struct device *const temp_sensor = DEVICE_DT_GET_ANY(lm75);
Expand Down

0 comments on commit 2896abe

Please sign in to comment.