From 92e9319851217641fed5a9a041ce163029557d75 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 7 Feb 2019 18:56:08 -0500 Subject: [PATCH] reset back to default from library --- ax5043/generated/config.c | 45 ++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/ax5043/generated/config.c b/ax5043/generated/config.c index 88d92bb2..eb80169b 100644 --- a/ax5043/generated/config.c +++ b/ax5043/generated/config.c @@ -1,17 +1,19 @@ -// Copyright (c) 2018 Brandenburg Tech, LLC -// All right reserved. -// -// THIS SOFTWARE IS PROVIDED BY BRANDENBURG TECH, LLC AND CONTRIBUTORS -// ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BRANDENBURT TECH, LLC -// AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* + * Copyright (C) 2018 Jonathan Brandenburg + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /* Warning: This file is automatically generated by AX-RadioLAB. Manual changes are overwritten! */ @@ -349,21 +351,20 @@ const uint16_t axradio_phy_cs_period = 7; // timer0 units, 10ms const uint8_t axradio_phy_cs_enabled = 0; const uint8_t axradio_phy_lbt_retries = 0; const uint8_t axradio_phy_lbt_forcetx = 0; -const uint16_t axradio_phy_preamble_wor_longlen = 0; //2; // wor_longlen + wor_len totals to 240.0ms plus 112bits -const uint16_t axradio_phy_preamble_wor_len = 0; // 176; +const uint16_t axradio_phy_preamble_wor_longlen = 2; // wor_longlen + wor_len totals to 240.0ms plus 112bits +const uint16_t axradio_phy_preamble_wor_len = 176; const uint16_t axradio_phy_preamble_longlen = 0; -const uint16_t axradio_phy_preamble_len = 0; // 112; No preamble for CW - -const uint8_t axradio_phy_preamble_byte = 0x00; // 0x7e; No preamble for XW -const uint8_t axradio_phy_preamble_flags = 0x00; //0x38; +const uint16_t axradio_phy_preamble_len = 112; +const uint8_t axradio_phy_preamble_byte = 0x7e; +const uint8_t axradio_phy_preamble_flags = 0x38; const uint8_t axradio_phy_preamble_appendbits = 0; const uint8_t axradio_phy_preamble_appendpattern = 0x00; //framing -const uint8_t axradio_framing_maclen = 0; // 1; +const uint8_t axradio_framing_maclen = 1; const uint8_t axradio_framing_addrlen = 0; const uint8_t axradio_framing_destaddrpos = 0; -const uint8_t axradio_framing_sourceaddrpos = 0xff; +const uint8_t axradio_framing_sourceaddrpos = 0xff; const uint8_t axradio_framing_lenpos = 0; const uint8_t axradio_framing_lenoffs = 0; const uint8_t axradio_framing_lenmask = 0xff;