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
  • Loading branch information
mykrupp committed Jan 10, 2023
1 parent faa7b08 commit 6018844
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 6018844

Please sign in to comment.