mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 17:11:07 +00:00
Rename args on Writer interface.
This commit is contained in:
@@ -37,7 +37,7 @@ using namespace hackrf::one;
|
|||||||
|
|
||||||
class Writer {
|
class Writer {
|
||||||
public:
|
public:
|
||||||
virtual bool write(const void* const write_buffer, const size_t write_size) = 0;
|
virtual bool write(const void* const buffer, const size_t bytes) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RawFileWriter : public Writer {
|
class RawFileWriter : public Writer {
|
||||||
@@ -48,8 +48,8 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool write(const void* const write_buffer, const size_t write_size) override {
|
bool write(const void* const buffer, const size_t bytes) override {
|
||||||
return file.write(write_buffer, write_size);
|
return file.write(buffer, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user