RTM STS_L8_PWH_F2_20241211_RTM

This commit is contained in:
Yunhorn 2024-12-11 11:19:14 +08:00
parent 5886c289f4
commit 8b67118d04
7 changed files with 9 additions and 8 deletions

View File

@ -47,12 +47,12 @@ extern "C" {
/**
* @brief Verbose level for all trace logs
*/
#define VERBOSE_LEVEL VLEVEL_M
#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

View File

@ -607,7 +607,7 @@ void LoRaWAN_Init(void)
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
static uint8_t prev_color =STS_BLUE;
switch (GPIO_Pin)
{
case BUT1_Pin:
@ -995,15 +995,16 @@ static void SendTxData(void)
#ifdef CAYENNE_LPP
uint8_t channel = 0;
#else
uint32_t i = 0;
#if 0
uint16_t pressure = 0;
int16_t temperature = 0;
uint16_t humidity = 0;
uint32_t i = 0;
int32_t latitude = 0;
int32_t longitude = 0;
uint16_t altitudeGps = 0;
#endif
#endif /* CAYENNE_LPP */
EnvSensors_Read(&sensor_data);

Binary file not shown.

Binary file not shown.

View File

@ -502,7 +502,7 @@ void OnSensor4StateChanged(void);
void OnSensorRSS3AStateChanged(void);
void OnSensorRSS3BStateChanged(void);
void OnSensorRSS3CStateChanged(void);
void YunhornSTSDurationCheckTimer(void);
void OnSensorL8AStateChanged(void);
void OnSensorL8BStateChanged(void);
void OnSensorL8CStateChanged(void);