1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Split the status up into flags, assembled into a register upon demand. Attempted to implement some of the differences between the 1770/1772 and 1773/1793. Albeit with a motor fix still in place.

This commit is contained in:
Thomas Harte
2016-11-30 22:26:02 -05:00
parent 9b6c5e814a
commit 2222cb65d6
4 changed files with 98 additions and 33 deletions
+5
View File
@@ -139,6 +139,11 @@ void Controller::set_motor_on(bool motor_on)
_motor_is_on = motor_on;
}
bool Controller::get_motor_on()
{
return _motor_is_on;
}
void Controller::set_drive(std::shared_ptr<Drive> drive)
{
_drive = drive;