We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b874b41 commit e6c433eCopy full SHA for e6c433e
libraries/RPC/examples/MD5_Checksum/MD5_Checksum.ino
@@ -7,7 +7,7 @@ size_t hash_out_count = 0;
7
#ifdef CORE_CM4
8
size_t data_buf_size = 0;
9
#else
10
-size_t data_buf_size = 512;
+size_t data_buf_size = 256;
11
#endif
12
13
typedef std::vector<byte> vec_t;
@@ -59,6 +59,8 @@ void setup() {
59
60
RPC.bind("set_buffer_size", set_buffer_size);
61
62
+ // Introduce a brief delay to allow the M4 sufficient time
63
+ // to bind this function before invoking it.
64
delay(100);
65
auto ret = RPC.call("set_buffer_size", data_buf_size).as<size_t>();
66
0 commit comments