|
|
@@ -12,6 +12,9 @@ static nvs_handle handle;
|
|
|
const Parameters::Param Parameters::params[] = {
|
|
|
{ "LOCK_LEVEL", Parameters::ParamType::INT8, (const void*)&g.lock_level, 0, -1, 2 },
|
|
|
{ "CAN_NODE", Parameters::ParamType::UINT8, (const void*)&g.can_node, 0, 0, 127 },
|
|
|
+#if defined(PIN_CAN_TERM)
|
|
|
+ { "CAN_TERMINATE", Parameters::ParamType::UINT8, (const void*)&g.can_term, 0, 0, 1 },
|
|
|
+#endif
|
|
|
{ "UAS_TYPE", Parameters::ParamType::UINT8, (const void*)&g.ua_type, 0, 0, 15 },
|
|
|
{ "UAS_ID_TYPE", Parameters::ParamType::UINT8, (const void*)&g.id_type, 0, 0, 4 },
|
|
|
{ "UAS_ID", Parameters::ParamType::CHAR20, (const void*)&g.uas_id[0], 0, 0, 0 },
|