Skip to content
  • Paul Sokolovsky's avatar
    esp8266: Reset "virtual RTC" on power on. · a4c8ef9d
    Paul Sokolovsky authored
    Initialize RTC period coefficients, etc. if RTC RAM doesn't contain valid
    values. time.time() then will return number of seconds since power-on, unless
    set to different timebase.
    
    This reuses MEM_MAGIC for the purpose beyond its initial purpose (but the whole
    modpybrtc.c need to be eventually reworked completely anyway).
    a4c8ef9d