renamed receive -> read
similar to MIDI on Arduino by 47effects
This commit is contained in:
parent
920fbe1644
commit
e91e4209b1
|
|
@ -130,7 +130,7 @@ public:
|
||||||
|
|
||||||
inline bool begin(const char* deviceName);
|
inline bool begin(const char* deviceName);
|
||||||
|
|
||||||
inline void run()
|
inline void read()
|
||||||
{
|
{
|
||||||
// n/a, data comes in async (see onWrite callbacks)
|
// n/a, data comes in async (see onWrite callbacks)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ protected:
|
||||||
|
|
||||||
virtual bool begin(const char*) = 0;
|
virtual bool begin(const char*) = 0;
|
||||||
|
|
||||||
virtual void run() = 0;
|
virtual void read() = 0;
|
||||||
|
|
||||||
// serialize from the hardware
|
// serialize from the hardware
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue