- Integrated current limit settings in `nconfig`. - Enabled API support for managing current limits. - Added UI components for configuring current limits. - Implemented backend logic for handling validations and updates. Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
19 lines
360 B
C
19 lines
360 B
C
//
|
|
// Created by vl011 on 2025-08-28.
|
|
//
|
|
|
|
#ifndef ODROID_POWER_MATE_SW_H
|
|
#define ODROID_POWER_MATE_SW_H
|
|
#include <stdbool.h>
|
|
|
|
void init_sw();
|
|
void config_sw();
|
|
void trig_power();
|
|
void trig_reset();
|
|
void set_main_load_switch(bool on);
|
|
void set_usb_load_switch(bool on);
|
|
bool get_main_load_switch();
|
|
bool get_usb_load_switch();
|
|
|
|
#endif // ODROID_POWER_MATE_SW_H
|