11 lines
149 B
Plaintext
11 lines
149 B
Plaintext
start()
|
|
{
|
|
echo ds3231 0x68 >/sys/bus/i2c/devices/i2c-2/new_device
|
|
hwclock -f /dev/rtc1 -s
|
|
}
|
|
|
|
stop()
|
|
{
|
|
echo "no stop-operation for rtc"
|
|
}
|