Skip to content

Commit 1af5f6d

Browse files
authored
Merge pull request #2900 from theacodes/fix-2766
Note that nvm.ByteArray is available at microcontroller.nvm
2 parents 0d8bca9 + 7d16756 commit 1af5f6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

shared-bindings/nvm/__init__.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@
3434
//| """Non-volatile memory
3535
//|
3636
//| The `nvm` module allows you to store whatever raw bytes you wish in a
37-
//| reserved section non-volatile memory."""
37+
//| reserved section non-volatile memory.
38+
//|
39+
//| Note that this module can't be imported and used directly. The sole
40+
//| instance of :class:`ByteArray` is available at
41+
//| :attr:`microcontroller.nvm`."""
3842
//|
3943
STATIC const mp_rom_map_elem_t nvm_module_globals_table[] = {
4044
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_nvm) },

0 commit comments

Comments
 (0)