代码拉取完成,页面将自动刷新
/*
--------------------------------------------------------------------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301, USA.
--------------------------------------------------------------------------------
*/
// Copyright (c) 2016 John Seamons, ZL/KF6VO
#pragma once
// these defines are set by the makefile:
// DEBUG
// VERSION_MAJ, VERSION_MIN
// ARCH_*, PLATFORM_*
// LOGGING_HOST, KIWI_UI_LIST, REPO
// {EDATA_DEVEL, EDATA_EMBED}
#define FW_SEL_SDR_RX4_WF4 0
#define FW_SEL_SDR_RX8_WF2 1
#define FW_SEL_SDR_RX3_WF3 2
#define FW_SEL_SDR_RX14_WF0 3
#define MAX_RX_CHANS 16
#define MAX_WF_CHANS 4
#define MAX_NRX_BUFS 16 // for RXBUF_SIZE_14CH
#define MAX_NRX_SAMPS 226 // for nch = 3
#define NRX_SAMPS_CHANS(nch) ((NRX_SPI - NRX_OVHD) / NRX_IQW / nch);
// (((2048-1) - (3+1+1)) / 3 / nch) = 680 / nch
extern int fw_sel, fpga_id, rx_chans, wf_chans, nrx_bufs, nrx_samps, nrx_samps_loop, nrx_samps_rem,
snd_rate, rx_decim;
// INET6_ADDRSTRLEN (46) plus some extra in case ipv6 scope/zone is an issue
// can't be in net.h due to #include recursion problems
#define NET_ADDRSTRLEN 64
#define NET_ADDRSTRLEN_S "64"
#define STATS_INTERVAL_SECS 10
#define PHOTO_UPLOAD_MAX_SIZE (2*M)
typedef struct {
const char *param, *value;
} index_html_params_t;
#include "mongoose.h"
typedef struct {
const char *name;
int color_map;
int port, port_ext;
struct mg_server *server;
} user_iface_t;
extern user_iface_t user_iface[];
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。