Update README.md

This commit is contained in:
Valentine Rymskiy 2025-04-15 07:08:37 +07:00 committed by GitHub
parent 968efa3aa1
commit cfdf2ac6c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
![schematic](./Image.png)
Первая рабочая версия драйвера заряда батареи на основе 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