mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-01 11:16:16 +00:00
Starts to establish the means by which I'll implement ADB devices.
This commit is contained in:
21
Machines/Apple/ADB/ReactiveDevice.cpp
Normal file
21
Machines/Apple/ADB/ReactiveDevice.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ReactiveDevice.cpp
|
||||
// Clock Signal
|
||||
//
|
||||
// Created by Thomas Harte on 12/02/2021.
|
||||
// Copyright © 2021 Thomas Harte. All rights reserved.
|
||||
//
|
||||
|
||||
#include "ReactiveDevice.hpp"
|
||||
|
||||
using namespace Apple::ADB;
|
||||
|
||||
ReactiveDevice::ReactiveDevice(Apple::ADB::Bus &bus) : device_id_(bus.add_device(this)) {}
|
||||
|
||||
void ReactiveDevice::post_response(const std::vector<uint8_t> &&response) {
|
||||
response_ = std::move(response);
|
||||
}
|
||||
|
||||
void ReactiveDevice::advance_state(double microseconds) {
|
||||
(void)microseconds;
|
||||
}
|
||||
Reference in New Issue
Block a user