]> granicus.if.org Git - esp-idf/commit
pm: handle changes to the PM_MODE_ACTIVE frequency
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 27 Mar 2018 02:51:07 +0000 (10:51 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 27 Mar 2018 03:20:54 +0000 (11:20 +0800)
commitfe5d294f6cd4a1d3a65f09dcb238bf4c69a72397
treed82a179ada7c541f7e53a4f2f0a0af891dce728d
parent1517aeda6c5df09fbbf8862be5aa495db5a97934
pm: handle changes to the PM_MODE_ACTIVE frequency

The issue would manifest itself in cases when switching from PM
configuration like {active=160MHz, idle=80MHz} to {active=80MHz,
idle=80Mhz}. After the configuration was changed, PM logic would
think that current frequency was 80MHz and would not do any further
switching. In fact, frequency was still 160MHz.
components/esp32/pm_esp32.c