1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-03-14 04:29:43 +01:00

user id starts by 1 not 0

This commit is contained in:
OliE 2015-01-04 13:46:20 +01:00
parent a3aa38bf66
commit 480309979b

View File

@ -478,7 +478,7 @@ void loop()
}
if (seg_value_4 == 'P') {
measured_user_id = char_to_int(seg_value_1) - 1; // user id starts by 0
measured_user_id = char_to_int(seg_value_1) + char_to_int(seg_value_2)*10;
}
sample_count = 0;