Skip to content

Commit

Permalink
v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
applenana committed Sep 24, 2024
1 parent 55be479 commit cca6792
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 2 deletions.
Binary file modified Arduino/.pio/build/esp12e/.sconsign311.dblite
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/firmware.bin
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/firmware.elf
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/lib049/libLittleFS.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/lib11e/libAdafruit NeoPixel.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/lib6aa/libESP8266WiFi.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/lib975/libServo.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/libFrameworkArduino.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/libe48/libPubSubClient.a
Binary file not shown.
Binary file modified Arduino/.pio/build/esp12e/src/main.cpp.o
Binary file not shown.
4 changes: 2 additions & 2 deletions Arduino/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,9 @@ void bambuCallback(char* topic, byte* payload, unsigned int length) {
if(isSendFilament){
delay(500);
statePublish("发送新的温度!");
statePublish("{\"print\": {\"command\": \"gcode_line\",\"sequence_id\": \"1\",\"param\": \"M109 S"+String(filamentTemp)+"\"},\"user_id\": \"1\"}");
statePublish("{\"print\": {\"command\": \"gcode_line\",\"sequence_id\": \"1\",\"param\": \"M109 S"+String(filamentTemp)+"\\n\"},\"user_id\": \"1\"}");
bambuClient.publish(bambu_topic_publish.c_str(),
("{\"print\": {\"command\": \"gcode_line\",\"sequence_id\": \"1\",\"param\": \"M109 S"+String(filamentTemp)+"\"},\"user_id\": \"1\"}")
("{\"print\": {\"command\": \"gcode_line\",\"sequence_id\": \"1\",\"param\": \"M109 S"+String(filamentTemp)+"\\n\"},\"user_id\": \"1\"}")
.c_str());
}
}
Expand Down

0 comments on commit cca6792

Please sign in to comment.