Enhance logging functionality across multiple scripts, enabling debug mode checks and detailed communication logs for serial connections and firmware updates.
This commit is contained in:
@@ -58,7 +58,7 @@ $view .= '<div class="content-block">
|
||||
|
||||
<div class="" id="updateAvailabe" style="margin-top: 10px;">
|
||||
<button class="btn" id="updateFirmware" style="display:none;"
|
||||
emergencyPlug-update
|
||||
emergencyPlug-update verify
|
||||
board="emergencyPlug"
|
||||
port-filters= "[{usbVendorId: 1027, usbProductId: 24597}\];"
|
||||
disabled>Update Firmware
|
||||
@@ -99,6 +99,7 @@ echo '
|
||||
<script src="assets/upload.js?'.script_version.'"></script>
|
||||
<script>
|
||||
var link = "'.$baseurl.'";
|
||||
var DEBUG = '.(debug ? 'true' : 'false').';
|
||||
var port, textEncoder, writableStreamClosed, writer, historyIndex = -1;
|
||||
const lineHistory = [];
|
||||
</script>';
|
||||
|
||||
Reference in New Issue
Block a user