Skip to content

Commit

Permalink
AC_AutoTune: use new new macro
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Hall <[email protected]>
  • Loading branch information
bnsgeyer and IamPete1 authored Jun 16, 2024
1 parent 71183ec commit f28193a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_AutoTune/AC_AutoTune_FreqResp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,6 @@ void AC_AutoTune_FreqResp::set_dwell_cycles(uint8_t cycles)
if (meas_peak_info_buffer != nullptr) { delete meas_peak_info_buffer;}
meas_peak_info_buffer = new ObjectBuffer<peak_info>(cycles);
if (tgt_peak_info_buffer != nullptr) { delete tgt_peak_info_buffer;}
tgt_peak_info_buffer = new ObjectBuffer<peak_info>(cycles);
tgt_peak_info_buffer = NEW_NOTHROW ObjectBuffer<peak_info>(cycles);

}

0 comments on commit f28193a

Please sign in to comment.