remove debug

This commit is contained in:
J. Nick Koston 2025-07-04 10:35:29 -05:00
parent bc2adb6b5a
commit 729b2b2873
No known key found for this signature in database
2 changed files with 0 additions and 23 deletions

View File

@ -647,7 +647,6 @@ void hsv_to_rgb(int hue, float saturation, float value, float &red, float &green
// System APIs
#if defined(USE_ESP8266) || defined(USE_RP2040)
// ESP8266 doesn't have mutexes, but that shouldn't be an issue as it's single-core and non-preemptive OS.
// RP2040 support is currently limited to single-core mode
Mutex::Mutex() {}
Mutex::~Mutex() {}
void Mutex::lock() {}

View File

@ -474,14 +474,6 @@ async def run_binary_and_wait_for_port(
if process.returncode is not None:
error_msg += f"\nProcess exited with code: {process.returncode}"
# Check for common signals
if process.returncode < 0:
sig = -process.returncode
try:
sig_name = signal.Signals(sig).name
error_msg += f" (killed by signal {sig_name})"
except ValueError:
error_msg += f" (killed by signal {sig})"
# Include any output collected so far
if stdout_lines:
@ -509,20 +501,6 @@ async def run_binary_and_wait_for_port(
if controller_transport is not None:
controller_transport.close()
# Log the exit code if process already exited
if process.returncode is not None:
print(f"\nProcess exited with code: {process.returncode}", file=sys.stderr)
if process.returncode < 0:
sig = -process.returncode
try:
sig_name = signal.Signals(sig).name
print(
f"Process was killed by signal {sig_name} ({sig})",
file=sys.stderr,
)
except ValueError:
print(f"Process was killed by signal {sig}", file=sys.stderr)
# Cleanup: terminate the process gracefully
if process.returncode is None:
# Send SIGINT (Ctrl+C) for graceful shutdown