mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Fixed: to post a message, I want message in, not message out.
This commit is contained in:
parent
cb0d994827
commit
6e0e9afe2f
@ -245,9 +245,8 @@ template <typename Executor> void Target<Executor>::send_status(Status status, c
|
||||
}
|
||||
|
||||
template <typename Executor> void Target<Executor>::send_message(Message message, continuation next) {
|
||||
// Message out phase: message and control set, input reset.
|
||||
bus_state_ &= ~(Line::Control | Line::Input | Line::Message);
|
||||
bus_state_ |= Line::Message | Line::Control;
|
||||
// Message in phase: message, control and input set.
|
||||
bus_state_ |= Line::Message | Line::Control | Line::Input;
|
||||
|
||||
message_ = message;
|
||||
phase_ = Phase::SendingMessage;
|
||||
|
Loading…
x
Reference in New Issue
Block a user