빌드 warning 관련 수정
This commit is contained in:
@@ -348,7 +348,7 @@ static int ble_request_preferred_conn_params(bool count_attempt)
|
||||
err = bt_conn_get_info(current_conn, &info);
|
||||
if ((err == 0) && (info.type == BT_CONN_TYPE_LE))
|
||||
{
|
||||
uint16_t cur_interval = info.le.interval;
|
||||
uint16_t cur_interval = (uint16_t)(info.le.interval_us / 1250U);
|
||||
uint16_t cur_latency = info.le.latency;
|
||||
uint16_t cur_timeout = info.le.timeout;
|
||||
|
||||
|
||||
@@ -687,7 +687,6 @@ int imu_fifo_read_latest(uint8_t *sample_bytes,
|
||||
}
|
||||
|
||||
{
|
||||
uint16_t raw_count = record_count;
|
||||
record_count = imu_fifo_compact_records(record_count);
|
||||
DBG_PRINTF("[IMU FIFO] compact %u -> %u\r\n", raw_count, record_count);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
CONFIG_GPIO_HOGS=y
|
||||
|
||||
# MCUboot RTT logging(test)
|
||||
CONFIG_LOG=n
|
||||
CONFIG_LOG_MODE_IMMEDIATE=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=3
|
||||
CONFIG_MCUBOOT_LOG_LEVEL_DBG=y
|
||||
# Keep MCUboot LOG enabled to satisfy MCUboot default Kconfig choices,
|
||||
# but disable console/log output backends.
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=0
|
||||
CONFIG_MCUBOOT_LOG_LEVEL_OFF=y
|
||||
|
||||
CONFIG_PRINTK=n
|
||||
CONFIG_USE_SEGGER_RTT=y
|
||||
CONFIG_CONSOLE=n
|
||||
CONFIG_RTT_CONSOLE=n
|
||||
@@ -15,3 +14,7 @@ CONFIG_LOG_BACKEND_SHOW_COLOR=n
|
||||
|
||||
CONFIG_LOG_BACKEND_UART=n
|
||||
CONFIG_UART_CONSOLE=n
|
||||
|
||||
# security boot
|
||||
CONFIG_REBOOT=y
|
||||
CONFIG_DISABLE_FLASH_PATCH=y
|
||||
|
||||
Reference in New Issue
Block a user