Update USB current limit to 4.5A in code and UI
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#define VIN_CURRENT_LIMIT_MAX 8.0f
|
||||
#define MAIN_CURRENT_LIMIT_MAX 7.5f
|
||||
#define USB_CURRENT_LIMIT_MAX 3.5f
|
||||
#define USB_CURRENT_LIMIT_MAX 4.5f
|
||||
|
||||
esp_err_t climit_set_vin(double value);
|
||||
esp_err_t climit_set_main(double value);
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
<div class="mb-4">
|
||||
<label class="form-label" for="usb-current-limit-slider">USB Current Limit: <span
|
||||
class="fw-bold text-primary" id="usb-current-limit-value">...</span> A</label>
|
||||
<input class="form-range" id="usb-current-limit-slider" max="3.5" min="0" step="0.1"
|
||||
<input class="form-range" id="usb-current-limit-slider" max="4.5" min="0" step="0.1"
|
||||
type="range">
|
||||
</div>
|
||||
<div class="d-flex justify-content-end pt-3 border-top mt-3">
|
||||
|
||||
Reference in New Issue
Block a user