Skip to content

Commit

Permalink
fixup! Add demo DUT.
Browse files Browse the repository at this point in the history
  • Loading branch information
rslawson committed Feb 26, 2025
1 parent 58db2bd commit e7c9948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bittide-instances/data/openocd/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2024 Google LLC
#
# SPDX-License-Identifier: Apache-2.0
set -xe
set -e

# Default stdout to /dev/null
OPENOCD_STDOUT_LOG="${OPENOCD_STDOUT_LOG:-/dev/null}"
Expand Down
2 changes: 1 addition & 1 deletion bittide-instances/src/Project/Handle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ expectLine = expectLine' ""
let
byteLine1 = filter (\c -> isAscii c && not (isControl c)) byteLine0
line = w2c <$> unpack byteLine1
trimmed = (\l -> trace ("expectLine: " <> l) l) $ trimEnd line
trimmed = trimEnd line
s1 = s0 <> "\n" <> line
cont = expectLine' s1 h f
if null trimmed
Expand Down

0 comments on commit e7c9948

Please sign in to comment.