Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
Update exposed constants
Browse files Browse the repository at this point in the history
  • Loading branch information
bencefr committed Dec 1, 2020
1 parent f736059 commit c76de77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@
*
* <tt>nrfjprogjs.NRF5340_xxAA_ENGA</tt><br/>
* <tt>nrfjprogjs.NRF5340_xxAA_ENGB</tt><br/>
* <tt>nrfjprogjs.NRF5340_xxAA_ENGC</tt><br/>
* <tt>nrfjprogjs.NRF5340_xxAA_ENGD</tt><br/>
* <tt>nrfjprogjs.NRF5340_xxAA_FUTURE</tt><br/>
*
* <tt>nrfjprogjs.NRF9160_xxAA_REV1</tt><br/>
Expand Down
2 changes: 2 additions & 0 deletions src/highlevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ void HighLevel::initConsts(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
// nRF53XXX versions
NODE_DEFINE_CONSTANT(target, NRF5340_xxAA_ENGA); // NOLINT(hicpp-signed-bitwise)
NODE_DEFINE_CONSTANT(target, NRF5340_xxAA_ENGB); // NOLINT(hicpp-signed-bitwise)
NODE_DEFINE_CONSTANT(target, NRF5340_xxAA_ENGC); // NOLINT(hicpp-signed-bitwise)
NODE_DEFINE_CONSTANT(target, NRF5340_xxAA_ENGD); // NOLINT(hicpp-signed-bitwise)
NODE_DEFINE_CONSTANT(target, NRF5340_xxAA_FUTURE); // NOLINT(hicpp-signed-bitwise)

// nRF9160 versions
Expand Down

0 comments on commit c76de77

Please sign in to comment.