Skip to content

Commit

Permalink
fix bug where SEGGER_RTT_MAX_NUM_UP_BUFFERS doesn't get set by passin…
Browse files Browse the repository at this point in the history
…g segger_rtt_max_num_down_buffers as a command line argument (#24350)
  • Loading branch information
mykrupp authored and pull[bot] committed Jun 7, 2023
1 parent 7628971 commit fcde2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/jlink/segger_rtt/RTT/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ buildconfig_header("rtt_buildconfig") {
}
if (segger_rtt_max_num_down_buffers != -1) {
defines +=
[ "SEGGER_RTT_MAX_NUM_UP_BUFFERS=${segger_rtt_max_num_down_buffers}" ]
[ "SEGGER_RTT_MAX_NUM_DOWN_BUFFERS=${segger_rtt_max_num_down_buffers}" ]
}
if (segger_rtt_mode_default != -1) {
defines += [ "SEGGER_RTT_MODE_DEFAULT=${segger_rtt_mode_default}" ]
Expand Down

0 comments on commit fcde2da

Please sign in to comment.