File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 4
4
* @date 2021-12-16
5
5
* @brief
6
6
* Save and retrieve sensor readings to/from flash
7
- * for transmitting to station for sync.
7
+ * for transmitting to station for sync.
8
8
* Allocate static input, output and config memory.
9
9
* Readings are blocked into a nearly page size buffer.
10
10
* store_block by bumping index up to _DATA_RECORDS_NUM then wrap.
Original file line number Diff line number Diff line change 2
2
#define APPLICATION_MODE_DEBUG_H
3
3
4
4
#define APP_FW_VARIANT "+debug"
5
- #define RI_LOG_ENABLED 1
5
+ #define RI_LOG_ENABLED (true)
6
6
#define APP_LOG_LEVEL RI_LOG_LEVEL_INFO
7
7
#define APP_WDT_INTERVAL_MS (10U*60U*1000U)
8
8
#define ENABLE_ALL_DATAFORMATS (1U)
11
11
#define APP_BLE_INTERVAL_MS (221U)
12
12
13
13
/** @brief repeat same data N times in advertisement, reduce sensor reads. */
14
- #define APP_NUM_REPEATS 4
14
+ #define APP_NUM_REPEATS (4U)
15
15
16
16
/** @brief Communicate sensor data at this interval. 221 matches Apple guideline. */
17
17
#define APP_HEARTBEAT_INTERVAL_MS (APP_BLE_INTERVAL_MS * APP_NUM_REPEATS)
18
18
19
19
#define APP_LOG_INTERVAL_S (1U) //!< Gets limited to heartbeat rate.
20
20
21
- #endif
21
+ #endif // APPLICATION_MODE_DEBUG_H
Original file line number Diff line number Diff line change 1206
1206
<folder
1207
1207
Name="ruuvi.dps310.c"
1208
1208
exclude=""
1209
- filter="*c;*.h"
1209
+ filter="*. c;*.h"
1210
1210
path="ruuvi.drivers.c/ruuvi.dps310.c/src"
1211
1211
recurse="Yes" />
1212
1212
</folder>
Original file line number Diff line number Diff line change
1
+ /* @file test/test_app_log.c
2
+ */
1
3
#include "unity.h"
2
4
3
5
#include "app_config.h"
@@ -886,7 +888,6 @@ void test_app_log_config_set_notinit (void)
886
888
TEST_ASSERT (RD_ERROR_INVALID_STATE == err_code );
887
889
}
888
890
889
-
890
891
/**
891
892
* @brief Read current logging configuration.
892
893
*
You can’t perform that action at this time.
0 commit comments