Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/I2S/DMABufferDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class DMABufferDescriptor : protected lldesc_t
if (!b)
DEBUG_PRINTLN("Failed to alloc DMABufferDescriptor");
b->init();
if (allocateBuffer)
if (allocBuffer)
b->setBuffer(allocateBuffer(bytes, clear, clearValue), bytes);
return b;
}
Expand Down
2 changes: 1 addition & 1 deletion src/VGA/VGA.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class VGA : public VGAMode, public VGAPinConfig

// TODO This function should be pure virtual, but it is currently implemented with added arguments in children classes
virtual bool init(const Mode &mode, const int *pinMap, const int bitCount, const int clockPin = -1)
{}
{ return false; }

virtual bool init(const Mode &mode, const PinConfig &pinConfig) = 0;

Expand Down