Don't turn off the phone power on C2s when changing USB mode (#611)

master
robbederks 2020-11-10 11:26:02 +01:00 committed by GitHub
parent 49c7615ed3
commit 6b869a6312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -72,11 +72,9 @@ void uno_set_usb_power_mode(uint8_t mode) {
bool valid = false;
switch (mode) {
case USB_POWER_CLIENT:
uno_set_phone_power(false);
valid = true;
break;
case USB_POWER_CDP:
uno_set_phone_power(true);
uno_bootkick();
valid = true;
break;