Compare commits
2 Commits
6a987d64ab
...
ba8f726136
Author | SHA1 | Date |
---|---|---|
|
ba8f726136 | |
|
12ee4bc3d4 |
|
@ -47,12 +47,12 @@ extern "C" {
|
|||
/**
|
||||
* @brief Verbose level for all trace logs
|
||||
*/
|
||||
#define VERBOSE_LEVEL VLEVEL_L
|
||||
#define VERBOSE_LEVEL VLEVEL_OFF
|
||||
|
||||
/**
|
||||
* @brief Enable trace logs
|
||||
*/
|
||||
#define APP_LOG_ENABLED 1
|
||||
#define APP_LOG_ENABLED 0
|
||||
|
||||
/**
|
||||
* @brief Activate monitoring (probes) of some internal RF signals for debug purpose
|
||||
|
@ -75,7 +75,7 @@ extern "C" {
|
|||
* @brief Enable/Disable MCU Debugger pins (dbg serial wires)
|
||||
* @note by HW serial wires are ON by default, need to put them OFF to save power
|
||||
*/
|
||||
#define DEBUGGER_ENABLED 1
|
||||
#define DEBUGGER_ENABLED 0
|
||||
|
||||
/**
|
||||
* @brief Disable Low Power mode
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -185,9 +185,9 @@
|
|||
#define sts_appctrl_reply_port (YUNHORN_STS_USER_APP_CTRL_REPLY_PORT)
|
||||
|
||||
/* General Settings */
|
||||
#define MajorVer 24U
|
||||
#define MinorVer 11U
|
||||
#define SubMinorVer 27U
|
||||
#define MajorVer 25U
|
||||
#define MinorVer 1U
|
||||
#define SubMinorVer 8U
|
||||
#define FirmwareVersion 3U
|
||||
#define YUNHORN_STS_MAX_NVM_CFG_SIZE 64U
|
||||
#define YUNHORN_STS_AC_CODE_SIZE 20U
|
||||
|
|
|
@ -645,7 +645,7 @@ static void print_result(RANGING_SENSOR_Result_t *Result)
|
|||
|
||||
head_height_level_from_floor = MIN(1400, abs(sts_sensor_install_height - head_distance_from_ceiling));
|
||||
|
||||
APP_LOG(TS_OFF, VLEVEL_L, "\r\n Raw Head height=%d cm Calculated head level=%d cm\r\n", head_distance_from_ceiling/10, head_height_level_from_floor/10);
|
||||
APP_LOG(TS_OFF, VLEVEL_L, "\r\n Updown distance=%d cm, Floor Up head =%d cm\r\n", head_distance_from_ceiling/10, head_height_level_from_floor/10);
|
||||
|
||||
/* state tree */
|
||||
|
||||
|
|
Loading…
Reference in New Issue