Browse Source

Fix rtc detection in Linux v5.11+ (see 211e5db1 in the kernel repo)

Fabian 2 năm trước cách đây
mục cha
commit
654abe97e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/rtc.js

+ 1 - 1
src/rtc.js

@@ -264,7 +264,7 @@ RTC.prototype.cmos_port_read = function()
             return c;
 
         case CMOS_STATUS_D:
-            return 0xFF;
+            return 0;
 
         case CMOS_CENTURY:
             return this.encode_time(new Date(this.rtc_time).getUTCFullYear() / 100 | 0);