Skip to content

Commit

Permalink
Update 2-led support
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Jul 4, 2020
1 parent a1e5a82 commit 24662a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pisugar-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn handle_request(core: Arc<Mutex<PiSugarCore>>, req: &str) -> String {
};
};
}
"set_charging_range" => {
"set_battery_charging_range" => {
let mut charging_range = None;
if parts.len() > 1 {
let range: Vec<String> = parts[1].split(',').map(|s| s.to_string()).collect();
Expand Down

0 comments on commit 24662a3

Please sign in to comment.