1
0
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:
Thomas Harte
2021-02-12 18:42:12 -05:00
parent e83b2120ce
commit adfdfa205f
5 changed files with 115 additions and 26 deletions

View 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;
}