소스 검색

Add chunk size constant

Christopher Mullins 6 년 전
부모
커밋
410bcb7b92
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      lib/MQTT/MqttClient.h

+ 4 - 0
lib/MQTT/MqttClient.h

@@ -8,6 +8,10 @@
 #define MQTT_CONNECTION_ATTEMPT_FREQUENCY 5000
 #endif
 
+#ifndef MQTT_PACKET_CHUNK_SIZE
+#define MQTT_PACKET_CHUNK_SIZE 128
+#endif
+
 #ifndef _MQTT_CLIENT_H
 #define _MQTT_CLIENT_H