mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-30 03:30:30 +02:00
user id starts by 1 not 0
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user