File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
module/midi/BLE-MIDI/hardware Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ class MyCharacteristicCallbacks : public BLECharacteristicCallbacks
113
113
114
114
void onWrite (BLECharacteristic *characteristic)
115
115
{
116
- std::string rxValue = characteristic->getValue ();
116
+ String rxValue = characteristic->getValue ();
117
117
if (rxValue.length () > 0 )
118
118
{
119
119
_bluetoothEsp32->receive ((uint8_t *)(rxValue.c_str ()), rxValue.length ());
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class MyCharacteristicCallbacks : public BLECharacteristicCallbacks
106
106
107
107
void onWrite (BLECharacteristic *characteristic)
108
108
{
109
- std::string rxValue = characteristic->getValue ();
109
+ String rxValue = characteristic->getValue ();
110
110
if (rxValue.length () > 0 )
111
111
{
112
112
_bluetoothEsp32->receive ((uint8_t *)(rxValue.c_str ()), rxValue.length ());
You can’t perform that action at this time.
0 commit comments