summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-08-10 17:38:01 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-08-10 17:38:01 +0200
commit451a80d636e184be9902d0dd466a36747f8291a6 (patch)
treea71db83694c53d69cc13c74af328c34878786405 /Makefile
parent1e651c5327a3d4e673750edac8b7ea87ca5ebd80 (diff)
Add metric feature
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af2daf6..f76db58 100644
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,12 @@ all: ina260.c
make -C $(LML) M=$(PWD) modules
run: ina260.c
- -echo 0x40 > /sys/bus/i2c/devices/i2c-2/delete_device
+ -echo 0x41 > /sys/bus/i2c/devices/i2c-2/delete_device
-rmmod ina260
make clean
make
insmod ina260.ko
- echo ina260 0x40 > /sys/bus/i2c/devices/i2c-2/new_device
+ echo ina260 0x41 > /sys/bus/i2c/devices/i2c-2/new_device
read: read.c
gcc $^ -o read