fix: BLE TX 먹통 해결 및 메모리 안전성 개선
- binary_tx_handler를 dr_binary_tx_safe로 전체 교체 (APP_ERROR_CHECK 제거) - data_tx_handler APP_ERROR_CHECK → DBG_PRINTF 교체 - memset/memcpy 하드코딩 크기를 define 상수로 교체 (버퍼 오버런 수정) - SERIAL_NO_LENGTH, HW_NO_LENGTH, PASSKEY_LENGTH를 main.h로 통합 - 미사용 HW 드라이버/EEPROM 코드 삭제, TWI를 i2c_manager.c로 통합 - EEPROM → FDS 전환, 코드 리뷰 현황 문서 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,16 +47,16 @@ extern "C" {
|
||||
#include "nrf_gpio.h"
|
||||
|
||||
// LEDs definitions for PCA10056
|
||||
#define LEDS_NUMBER 1
|
||||
#define LEDS_NUMBER 2
|
||||
|
||||
#define LED_1 NRF_GPIO_PIN_MAP(0,12) //Green LED for Advertise
|
||||
#define LED_START LED_1
|
||||
#define LED_STOP LED_1
|
||||
#define LED_GR NRF_GPIO_PIN_MAP(0,12) //Green LED for Advertise
|
||||
#define LED_YL_TEST NRF_GPIO_PIN_MAP(0,29) // Yello LED for Function 260311
|
||||
|
||||
#define LEDS_ACTIVE_STATE 0
|
||||
#define LEDS_LIST { LED_1 }
|
||||
#define LEDS_LIST { LED_GR, LED_YL_TEST }
|
||||
#define LEDS_INV_MASK LEDS_MASK
|
||||
#define BSP_LED_0 LED_1
|
||||
#define BSP_LED_0 LED_GR
|
||||
#define BSP_LED_1 LED_YL_TEST // 260311
|
||||
|
||||
#define BUTTONS_NUMBER 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user