Skip to content

Commit

Permalink
timer, uart: EventSourceLevel -> EventSourceProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed May 8, 2013
1 parent e2d15b1 commit 8e76c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion milkymist/timer/__init__.py
Expand Up @@ -10,7 +10,7 @@ def __init__(self, width=32):
self._reload = CSRStorage(width)

self.submodules.ev = EventManager()
self.ev.zero = EventSourceLevel()
self.ev.zero = EventSourceProcess()
self.ev.finalize()

###
Expand Down
2 changes: 1 addition & 1 deletion milkymist/uart/__init__.py
Expand Up @@ -10,7 +10,7 @@ def __init__(self, pads, clk_freq, baud=115200):
self._divisor = CSRStorage(16, reset=int(clk_freq/baud/16))

self.submodules.ev = EventManager()
self.ev.tx = EventSourceLevel()
self.ev.tx = EventSourceProcess()
self.ev.rx = EventSourcePulse()
self.ev.finalize()

Expand Down

0 comments on commit 8e76c96

Please sign in to comment.