Skip to content
Merged
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
4 changes: 2 additions & 2 deletions libraries/USBDevice/USBAudio/USBAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "USBDevice_Types.h"

#include "USBDevice.h"

#include "Callback.h"

/**
* USBAudio example
Expand Down Expand Up @@ -275,7 +275,7 @@ class USBAudio: public USBDevice {
volatile uint8_t * buf_stream_out;

// callback to update volume
FunctionPointer updateVol;
Callback<void()> updateVol;

// boolean showing that the SOF handler has been called. Useful for readNB.
volatile bool SOF_handler;
Expand Down
4 changes: 2 additions & 2 deletions libraries/USBDevice/USBSerial/USBSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "USBCDC.h"
#include "Stream.h"
#include "CircBuffer.h"

#include "Callback.h"

/**
* USBSerial example
Expand Down Expand Up @@ -153,7 +153,7 @@ class USBSerial: public USBCDC, public Stream {
}

private:
FunctionPointer rx;
Callback<void()> rx;
CircBuffer<uint8_t,128> buf;
void (*settingsChangedCallback)(int baud, int bits, int parity, int stop);
};
Expand Down