v0.1.45: Added missing DELAY_AFTER_DENSITY constant\n\n- Added DELAY_AFTER_DENSITY = 0.10 for density setting delay
- Required by fichero.cli for proper printer operation - Maintains compatibility with original code\n- Updated version to 0.1.45 for Home Assistant recognition\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -35,6 +35,7 @@ PRINTER_NAME_PREFIXES = ("FICHERO_", "D11s_")
|
||||
PRINTHEAD_PX = 96 # Fichero/D11s printhead width in pixels
|
||||
BYTES_PER_ROW = PRINTHEAD_PX // 8 # 12 bytes per row (96 pixels / 8)
|
||||
DOTS_PER_MM = 8 # 203 DPI / 25.4 mm/inch ≈ 8 dots/mm
|
||||
DELAY_AFTER_DENSITY = 0.10 # printer needs time to apply density setting
|
||||
|
||||
# --- Timing constants ---
|
||||
CHUNK_SIZE_BLE = 200 # BLE MTU-limited
|
||||
|
||||
Reference in New Issue
Block a user