// ---------------------------------------------------------------------------- // initl.c -- bayesian morse code decoder // // Copyright (C) 2012-2014 // (C) Mauri Niininen, AG1LE // // This file is part of Bayesian Morse code decoder // bmorse 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. // // bmorse 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 bmorse. If not, see . // --------------------------------------------------------------------------- #include "bmorse.h" /* Initialized data */ /* Table of constant values */ int morse::initl_(void) { isave = PATHS; n = 0; ncall = 0; ndelay = NDELAY; nmax = 0; mmax = 0; kd = 0; ndelst = 0; iend = 0; ixlast = 0; curstate = 0; newstate = 0; initial = 0; for(int i=0;i