Skip to content

Commit

Permalink
contrib/rpc_examples: remove 'ocd_' command prefix from haskell example
Browse files Browse the repository at this point in the history
The prefixed commands has been removed in commit 0840414
("helper/command: do not replace new commands with ocd_ prefix").

Change-Id: I9f101beb85533973041386896bbb215bb141962f
Signed-off-by: Antonio Borneo <[email protected]>
Reviewed-on: http:https://openocd.zylin.com/5191
Tested-by: jenkins
Reviewed-by: Paul Fertser <[email protected]>
  • Loading branch information
borneoa authored and tom-van committed Jun 10, 2019
1 parent c8184ba commit 6f87df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/rpc_examples/ocdrpc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mdwParser = (manyTill anyChar (string ": ") *>

ocdMdw :: (InputStream ByteString, OutputStream ByteString) -> Integer -> Integer -> IO [Integer]
ocdMdw s start count = do
s <- ocdExec s $ "ocd_mdw " ++ show start ++ " " ++ show count
s <- ocdExec s $ "mdw " ++ show start ++ " " ++ show count
case parseOnly mdwParser (pack s) of
Right r -> return $ concat r

Expand Down

0 comments on commit 6f87df8

Please sign in to comment.