Skip to content

Commit cf18fab

Browse files
authored
Add files via upload
1 parent 530a1e2 commit cf18fab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LinkIt7697/France/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24121,7 +24121,7 @@ Blockly.Arduino['fu_mqtt_sendimage'] = function(block) {
2412124121
' int ps = MQTT_MAX_PACKET_SIZE;\n'+
2412224122
' mqtt_client.beginPublish(topic.c_str(), imgSize, false);\n'+
2412324123
' for (int i = 0; i < imgSize; i += ps) {\n'+
24124-
' int s = (imgSize - i < s) ? (imgSize - i) : ps;\n'+
24124+
' int s = (imgSize - i < ps) ? (imgSize - i) : ps;\n'+
2412524125
' mqtt_client.write((uint8_t *)(img_addr) + i, s);\n'+
2412624126
' }\n'+
2412724127
' boolean isPublished = mqtt_client.endPublish();\n'+

0 commit comments

Comments
 (0)