Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion variants/t1000-e/t1000e_sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static float get_heater_temperature(unsigned int vcc_volt, unsigned int ntc_volt
}

static int get_light_lv(unsigned int light_volt) {
float Vout = 0, Vin = 0, Rt = 0, temp = 0;
float Vout = 0;
unsigned int light_level = 0;

// Seeed's firmware maps the photocell reading to a 0-100 % range rather than lux.
Expand Down