mirror of
https://github.com/DrHo1y/ina226-battery-driver.git
synced 2026-01-22 11:06:19 +07:00
Update README.md
This commit is contained in:
parent
968efa3aa1
commit
cfdf2ac6c1
@ -1,8 +1,8 @@
|
||||

|
||||
|
||||
Первая рабочая версия драйвера заряда батареи на основе ina226
|
||||
First working version of the driver for charging battery based on ina226
|
||||
|
||||
```
|
||||
```bash
|
||||
mkdir driver
|
||||
cd driver
|
||||
nano Makefile // paste code
|
||||
@ -13,8 +13,9 @@ nano /etc/rc.local
|
||||
// paste in end
|
||||
// insmod /lib/modules/6.1.43-rockchip-rk3588/ina226-battery
|
||||
```
|
||||
Для включения драйвера в автозагрузку выполните следующие шаги:
|
||||
```
|
||||
To enable the driver to start up, follow these steps:
|
||||
|
||||
```bash
|
||||
echo ina226_battery >> /etc/modules-load.d/modules.conf
|
||||
cp ina226-battery.ko /lib/modules/6.1.43-rockchip-rk3588/extra/
|
||||
depmod -a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user