]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/phy_init_write_nvs_once' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 15 Feb 2017 05:26:22 +0000 (13:26 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 15 Feb 2017 05:26:22 +0000 (13:26 +0800)
commitdd5401749d8a5f39e7bfad0da54da189edb4fbd9
tree165acc8ddeb3e65c6c3d6aabb86edf1d1da4d16f
parent01c4a980ee05b5eddefd9d01a2bbdecde9944ce7
parent777816cb99874b9c7f53ad93365fd5fffbefd364
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