Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emproject dsp310missssing dot #327

Merged
merged 14 commits into from
Oct 4, 2024
2 changes: 1 addition & 1 deletion src/app_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @date 2021-12-16
* @brief
* Save and retrieve sensor readings to/from flash
* for transmitting to station for sync.
* for transmitting to station for sync.
* Allocate static input, output and config memory.
* Readings are blocked into a nearly page size buffer.
* store_block by bumping index up to _DATA_RECORDS_NUM then wrap.
Expand Down
6 changes: 3 additions & 3 deletions src/application_config/application_mode_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define APPLICATION_MODE_DEBUG_H

#define APP_FW_VARIANT "+debug"
#define RI_LOG_ENABLED 1
#define RI_LOG_ENABLED (true)
#define APP_LOG_LEVEL RI_LOG_LEVEL_INFO
#define APP_WDT_INTERVAL_MS (10U*60U*1000U)
#define ENABLE_ALL_DATAFORMATS (1U)
Expand All @@ -11,11 +11,11 @@
#define APP_BLE_INTERVAL_MS (221U)

/** @brief repeat same data N times in advertisement, reduce sensor reads. */
#define APP_NUM_REPEATS 4
#define APP_NUM_REPEATS (4U)

/** @brief Communicate sensor data at this interval. 221 matches Apple guideline. */
#define APP_HEARTBEAT_INTERVAL_MS (APP_BLE_INTERVAL_MS * APP_NUM_REPEATS)

#define APP_LOG_INTERVAL_S (1U) //!< Gets limited to heartbeat rate.

#endif
#endif // APPLICATION_MODE_DEBUG_H
2 changes: 1 addition & 1 deletion src/ruuvi.firmware.c.emProject
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
<folder
Name="ruuvi.dps310.c"
exclude=""
filter="*c;*.h"
filter="*.c;*.h"
path="ruuvi.drivers.c/ruuvi.dps310.c/src"
recurse="Yes" />
</folder>
Expand Down
3 changes: 2 additions & 1 deletion test/test_app_log.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* @file test/test_app_log.c
*/
#include "unity.h"

#include "app_config.h"
Expand Down Expand Up @@ -886,7 +888,6 @@ void test_app_log_config_set_notinit (void)
TEST_ASSERT (RD_ERROR_INVALID_STATE == err_code);
}


/**
* @brief Read current logging configuration.
*
Expand Down
Loading