X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/cbc8fdbfe473e23e19690204418e19999a9522d1..0fd474df7001837bde53da0e42e83081827c9641:/lunaix-os/hal/rtc/rtc_device.c diff --git a/lunaix-os/hal/rtc/rtc_device.c b/lunaix-os/hal/rtc/rtc_device.c index 396c9bb..8676b3f 100644 --- a/lunaix-os/hal/rtc/rtc_device.c +++ b/lunaix-os/hal/rtc/rtc_device.c @@ -166,7 +166,9 @@ static void hwrtc_twifs_export(struct hwrtc_potens* pot) { const char* name = pot->rtc_proxy->name_val; - struct twimap* rtc_mapping = twifs_mapping(NULL, pot, name); + struct twimap* rtc_mapping; + + rtc_mapping = twifs_mapping(NULL, pot, FSACL_aR, name); rtc_mapping->read = __hwrtc_readinfo; }