Files
Claude 838afca480 Name the D-Modem Authors as the copyright holder
Copyright lines, licensing texts and metadata named Neo-Desktop; they
now name the D-Modem Authors, and the licensing contact points at the
D-Modem organisation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw
2026-10-29 11:14:57 +00:00

31 lines
684 B
C

/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (C) 2026 D-Modem Authors
*/
#pragma once
#include "../src/core/hal.h"
typedef struct {
uint32_t now;
uint8_t xcvr, route;
int xcvr_calls;
bool peer_dce, peer_dte;
uart_format_t format;
int format_calls;
bool hw_cts, brk;
int kicks;
uint8_t out_role, out, in;
uint8_t leds;
uint8_t flash[64];
bool flash_valid;
int saves;
uint8_t ab_role; // hal_autobaud: which RX line is being timed
int ab_calls, rx_flushes;
} fake_hw_t;
#define FAKE_AB_HZ 62500000u
extern fake_hw_t hw;
// Back to a fresh board: nothing recorded, clock at 1000 ms.
void fake_reset(void);