mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Rename args on Writer interface.
This commit is contained in:
parent
2be105853e
commit
0445a842db
@ -37,7 +37,7 @@ using namespace hackrf::one;
|
||||
|
||||
class Writer {
|
||||
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 {
|
||||
@ -48,8 +48,8 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool write(const void* const write_buffer, const size_t write_size) override {
|
||||
return file.write(write_buffer, write_size);
|
||||
bool write(const void* const buffer, const size_t bytes) override {
|
||||
return file.write(buffer, bytes);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user