From: Ivan Grokhotkov Date: Wed, 15 Feb 2017 05:26:22 +0000 (+0800) Subject: Merge branch 'bugfix/phy_init_write_nvs_once' into 'master' X-Git-Tag: v2.0-rc2~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd5401749d8a5f39e7bfad0da54da189edb4fbd9;p=esp-idf Merge branch 'bugfix/phy_init_write_nvs_once' into 'master' phy_init: don’t rewrite valid calibration data In the default PHY init routine, calibration data is loaded from NVS. Most of the time the incremental changes to calibration will be fairly small, so we don’t need to rewrite the existing calibration data stored in the NVS. Possible enhancement to be done in the future: expose a function in PHY library to tell how big was the change in calibration data. If the change was significant, then calibration data stored in NVS should be updated. See merge request !487 --- dd5401749d8a5f39e7bfad0da54da189edb4fbd9