Firmware 버전 식별 코드 정의를 main.h로 이동

- parser.c: DR_DEVICE_VERSION 제거
This commit is contained in:
jhChun
2026-03-27 10:05:46 +09:00
parent 92ebe8ebb4
commit 923f29db82
4 changed files with 14 additions and 8 deletions

View File

@@ -109,9 +109,9 @@ void fds_default_value_set(void)
memset(m_config.hw_no, 0, 12);
memcpy(m_config.hw_no, HARDWARE_VERSION, strlen(HARDWARE_VERSION));
/* Serial Number - default from FIRMWARE_SERIAL_NO */
/* Serial Number - default from SERIAL_NUMBER */
memset(m_config.serial_no, 0, 12);
memcpy(m_config.serial_no, FIRMWARE_SERIAL_NO, strlen(FIRMWARE_SERIAL_NO));
memcpy(m_config.serial_no, SERIAL_NUMBER, strlen(SERIAL_NUMBER));
/* Static Passkey */
memcpy(m_config.static_passkey, static_passkey_dflt, 6);
@@ -125,7 +125,7 @@ void fds_default_value_set(void)
/* Device usage count */
m_config.life_cycle = 0;
/* 피에조 캡처 파라미터 기본값 */
/* 피에조 측정 파라미터 기본값 */
m_config.piezo_freq_option = 1; /* 2.1MHz */
m_config.piezo_delay_us = 10; /* 버스트 후 10us */
m_config.piezo_num_samples = 100; /* 100샘플 */