File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libraries/Bluefruit52Lib/examples/Peripheral/image_upload Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,9 @@ void connect_callback(uint16_t conn_handle)
257
257
258
258
tft.println (" Connected" );
259
259
260
- #if 1
260
+ // Requesting to Switching to 2MB PHY, larger data length and MTU
261
+ // will increase the throughput on supported central. This should be already done
262
+ // with latest Bluefruit app, but still put here for user reference
261
263
conn->requestPHY ();
262
264
tft.println (" Switching PHY" );
263
265
@@ -266,7 +268,6 @@ void connect_callback(uint16_t conn_handle)
266
268
267
269
conn->requestMtuExchange (247 );
268
270
tft.println (" Exchanging MTU" );
269
- #endif
270
271
271
272
tft.setTextColor (COLOR_GREEN);
272
273
tft.println (" Ready to receive new image" );
You can’t perform that action at this time.
0 commit comments