Skip to content

Commit 5c2ab75

Browse files
authored
fix bug where SEGGER_RTT_MAX_NUM_UP_BUFFERS doesn't get set by passing segger_rtt_max_num_down_buffers as a command line argument (project-chip#24350)
1 parent 99a2d8a commit 5c2ab75

File tree

1 file changed

+1
-1
lines changed
  • third_party/jlink/segger_rtt/RTT

1 file changed

+1
-1
lines changed

third_party/jlink/segger_rtt/RTT/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ buildconfig_header("rtt_buildconfig") {
6565
}
6666
if (segger_rtt_max_num_down_buffers != -1) {
6767
defines +=
68-
[ "SEGGER_RTT_MAX_NUM_UP_BUFFERS=${segger_rtt_max_num_down_buffers}" ]
68+
[ "SEGGER_RTT_MAX_NUM_DOWN_BUFFERS=${segger_rtt_max_num_down_buffers}" ]
6969
}
7070
if (segger_rtt_mode_default != -1) {
7171
defines += [ "SEGGER_RTT_MODE_DEFAULT=${segger_rtt_mode_default}" ]

0 commit comments

Comments
 (0)