components/nvs: make some methods const

This commit is contained in:
Ivan Grokhotkov
2016-08-22 10:30:35 +08:00
parent 49b2dfea1e
commit 3ce433cfd1
3 changed files with 6 additions and 6 deletions
@@ -33,7 +33,7 @@ public:
return mData;
}
Tenum get(size_t index)
Tenum get(size_t index) const
{
assert(index >= 0 && index < Nitems);
size_t wordIndex = index / ITEMS_PER_WORD;