1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00
CLK/Storage/Disk/DiskDrive.cpp

21 lines
449 B
C++
Raw Normal View History

//
// DiskDrive.cpp
// Clock Signal
//
// Created by Thomas Harte on 14/07/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#include "DiskDrive.hpp"
using namespace Storage;
DiskDrive::DiskDrive(unsigned int clock_rate, unsigned int revolutions_per_minute) :
_clock_rate(clock_rate),
_revolutions_per_minute(revolutions_per_minute) {}
void DiskDrive::set_expected_bit_length(Time bit_length)
{
_bit_length = bit_length;
}