Skip to content
Commit 8beb6891 authored by Axel's avatar Axel Committed by Phil Elwell
Browse files

rtc: pcf8523: Fix oscillator stop bit handling reading from Control_1



The check if the oscillator stop bit is set was reading from Control_1
register instead of the Seconds register.
This caused the Seconds register to be incorrectly changed if bit 7 of
Control_1 happens to be set.

Signed-off-by: default avatarAxel Hammarberg <axel.hammarberg@gmail.com>
parent e596d707
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment