Browse Source

update

master
zhaohe 1 year ago
parent
commit
836abc6d22
  1. 2
      a8000_protocol
  2. 2
      usrc/subboards/subboard90_optical_module/optical_module_v2.cpp

2
a8000_protocol

@ -1 +1 @@
Subproject commit e1bab29823705e2518e61de9e2dc3d8535a5eaa6
Subproject commit 6d52b54e3c528a0be076d120d033ecfeb1051ee0

2
usrc/subboards/subboard90_optical_module/optical_module_v2.cpp

@ -162,6 +162,7 @@ int32_t OpticalModuleV2::start_t_optical_scan(int32_t scanDirection, int32_t las
ZLOGI(TAG, "--------------start_t_optical_scan-----------");
int32_t intervalStep = 0;
int32_t scanStartPos = 0;
osDelay(50);
if (scanDirection >= 0) {
intervalStep = -m_reg.scan_step_interval;
@ -219,6 +220,7 @@ int32_t OpticalModuleV2::start_f_optical_scan(int32_t scanDirection, int32_t las
m_thread.stop();
m_thread.start([this, scanDirection, lasterGain, scanGain]() {
ZLOGI(TAG, "--------------start_f_optical_scan-----------");
osDelay(50);
int32_t intervalStep = 0;
int32_t scanStartPos = 0;

Loading…
Cancel
Save