Skip to content

Commit

Permalink
Debugging demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dopamane committed Jul 22, 2024
1 parent 44bf286 commit 5dd9b1e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ parseDemo = asum
, flag' Hello $ long "Hello" <> help "Hello demo"
, flag' Echo $ long "Echo" <> help "Echo demo"
, flag' LedCtrl $ long "LedCtrl" <> help "Control Led IP through UART"
, flag' BufEcho $ long "BufEcho" <> help "BufEcho demo"
, flag' EchoLine $ long "EchoLine" <> help "EchoLine demo"
]

parseProve :: Parser Prove
Expand Down
2 changes: 1 addition & 1 deletion lib/Bayeux.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ getDemo = \case
Hello -> handleErr $ compile hello
Echo -> handleErr $ compile echo
LedCtrl -> handleErr $ compile ledCtrl
BufEcho -> handleErr $ compile echoLine
EchoLine -> handleErr $ compile echoLine

rgbCounter :: File
rgbCounter = handleErr $ compile prog
Expand Down
2 changes: 1 addition & 1 deletion lib/Bayeux/Cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data Demo = FiatLux
| Hello
| Echo
| LedCtrl
| BufEcho
| EchoLine
deriving (Eq, Read, Show)

data Prove = Prove
Expand Down

0 comments on commit 5dd9b1e

Please sign in to comment.