Skip to content

Commit

Permalink
Set default max payload to 128bytes for Arduino
Browse files Browse the repository at this point in the history
Buffer sizes are now based on MAX_PAYLOAD_SIZE and MAX_FRAME_SIZE,
minimize default memory usage for Arduino
- This needs to be increased if using payloads larger than 128 bytes
  • Loading branch information
TMRh20 committed Nov 20, 2014
1 parent a6b3b5e commit 1dd7282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RF24Network.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

/** System defines */
#define MAX_FRAME_SIZE 32
#define MAX_PAYLOAD_SIZE 1500
#define MAX_PAYLOAD_SIZE 128


class RF24;
Expand Down

0 comments on commit 1dd7282

Please sign in to comment.