moved stuff to linux folder

This commit is contained in:
2021-02-14 14:55:33 +01:00
committed by Robin Mueller
parent b5fa151415
commit bb7eb5edec
13 changed files with 26 additions and 15 deletions

21
linux/i2c/I2cCookie.cpp Normal file
View File

@ -0,0 +1,21 @@
#include "I2cCookie.h"
I2cCookie::I2cCookie(address_t i2cAddress_, size_t maxReplyLen_,
std::string deviceFile_) :
i2cAddress(i2cAddress_), maxReplyLen(maxReplyLen_), deviceFile(
deviceFile_) {
}
address_t I2cCookie::getAddress() const {
return i2cAddress;
}
size_t I2cCookie::getMaxReplyLen() const {
return maxReplyLen;
}
std::string I2cCookie::getDeviceFile() const {
return deviceFile;
}
I2cCookie::~I2cCookie() {}