Bump RTT logger buffer from 512 to 1024
It was swalloing some of the messages when debugging.
This commit is contained in:
parent
dfc5a40717
commit
19f9a68b3b
2 changed files with 4 additions and 3 deletions
|
|
@ -11313,7 +11313,7 @@
|
||||||
// <i> or this value is actually used. It depends on which one is bigger.
|
// <i> or this value is actually used. It depends on which one is bigger.
|
||||||
|
|
||||||
#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
|
#ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
|
||||||
#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512
|
#define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
|
// <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
MSEC_TO_UNITS(PRST_BLE_ADV_INTERVAL_IN_MS, UNIT_0_625_MS)
|
MSEC_TO_UNITS(PRST_BLE_ADV_INTERVAL_IN_MS, UNIT_0_625_MS)
|
||||||
|
|
||||||
// Sensor data payload that will go into the advertisement message.
|
// Sensor data payload that will go into the advertisement message.
|
||||||
|
// We have a maximum of 20 bytes to play with here.
|
||||||
#define SERVICE_DATA_LEN 12
|
#define SERVICE_DATA_LEN 12
|
||||||
static uint8_t service_data[SERVICE_DATA_LEN];
|
static uint8_t service_data[SERVICE_DATA_LEN];
|
||||||
|
|
||||||
|
|
@ -144,9 +145,9 @@ void prst_ble_update_adv_data(uint16_t batt_millivolts,
|
||||||
APP_ERROR_CHECK(err_code);
|
APP_ERROR_CHECK(err_code);
|
||||||
|
|
||||||
#if PRST_BLE_DEBUG
|
#if PRST_BLE_DEBUG
|
||||||
NRF_LOG_INFO("[ble] Encoded BLE adv packket:");
|
NRF_LOG_INFO("[ble] Encoded BLE adv packet:");
|
||||||
for (int i = 0; i < sizeof(encoded_adv_data_); i++) {
|
for (int i = 0; i < sizeof(encoded_adv_data_); i++) {
|
||||||
NRF_LOG_INFO("[ble] 0x%x ", encoded_adv_data_[i]);
|
NRF_LOG_INFO("[ble] 0x%02x", encoded_adv_data_[i]);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue