]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
fix missing newline in esp32 code
authorJan Michel <mail@janmichel.eu>
Mon, 2 Jan 2023 11:48:23 +0000 (12:48 +0100)
committerJan Michel <mail@janmichel.eu>
Mon, 2 Jan 2023 11:48:23 +0000 (12:48 +0100)
esp32/EthernetUART/MdcPowerDistributor/MdcPowerDistributor.ino
esp32/EthernetUART/RemotePowerSwitch/RemotePowerSwitch.ino

index 7a26a12ae72f6a9c03ee1a8268b72a51edabd3d3..204875a5ba81c17cde4cbfb3c186e476a57cdad0 100644 (file)
@@ -331,7 +331,7 @@ void send_answer_hex(uint8_t *rxbuf, uint16_t v) {
   txbuf[9] = nib_to_hex(v, 0);
   txbuf[10] = '\n';
   txbuf[11] = 0; 
-  send_answer_buf(txbuf,10);
+  send_answer_buf(txbuf,11);
   }
   
   
index 23318f9f2b3fb078a3be431860611a083b59ab3c..5a83db9a9cca542c230c58a825d0b0bf29926380 100644 (file)
@@ -257,7 +257,7 @@ void send_answer_hex(uint8_t *rxbuf, uint16_t v) {
   txbuf[9] = nib_to_hex(v, 0);
   txbuf[10] = '\n';
   txbuf[11] = 0; 
-  send_answer_buf(txbuf,10);
+  send_answer_buf(txbuf,11);
   }
 
 /*****************************************************************