타이밍 최적화

- 온도 측정, Piezo 측정 사이 딜레이 줄이기
- Piezo 한 채널에서 평균화를 위한 반복 측정 사이 딜레이 줄이기

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jhChun
2026-03-20 10:43:59 +09:00
parent 75ee2187d6
commit 35d6956de2
5 changed files with 22 additions and 14 deletions

View File

@@ -828,10 +828,10 @@ dr_adc_err_t dr_adc_capture_channel_only(uint8_t freq_option, uint16_t delay_us,
/* Capture with averaging */
for (uint16_t avg_iter = 0; avg_iter < averaging; avg_iter++) {
if (avg_iter > 0) {
nrf_delay_us(500); /* Echo decay time */
//nrf_delay_us(500); /* Echo decay time */
}
dr_piezo_select_channel(piezo_ch);
//dr_piezo_select_channel(piezo_ch);
/* Execute piezo burst */
switch (freq_option) {