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 (project-chip#24350)
  • Loading branch information
mykrupp authored and David Lechner committed Mar 22, 2023
1 parent a14b8de commit b06677a
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 b06677a

Please sign in to comment.