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:
parent
a3aa38bf66
commit
480309979b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user