From 8f61ac63a39ac491bd065f6a1a20ba61f50d6ce9 Mon Sep 17 00:00:00 2001 From: EdFuentetaja Date: Sun, 11 May 2014 08:43:06 +0800 Subject: [PATCH] Minor fix in comments. --- dsd.h | 5 +---- p25p1_heuristics.c | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dsd.h b/dsd.h index 2fb422b..4290434 100644 --- a/dsd.h +++ b/dsd.h @@ -17,9 +17,6 @@ * PERFORMANCE OF THIS SOFTWARE. */ -#ifndef DSD_H__f8398b5f0d5d49a1be2f1645325dfdb2 -#define DSD_H__f8398b5f0d5d49a1be2f1645325dfdb2 - #include "config.h" #include #include @@ -297,4 +294,4 @@ void processDSTAR_HD (dsd_opts * opts, dsd_state * state); short dmr_filter(short sample); short nxdn_filter(short sample); -#endif // DSD_H__f8398b5f0d5d49a1be2f1645325dfdb2 +#endif // DSD_H diff --git a/p25p1_heuristics.c b/p25p1_heuristics.c index ea48d5e..88c4e3d 100644 --- a/p25p1_heuristics.c +++ b/p25p1_heuristics.c @@ -132,7 +132,7 @@ static void update_p25_heuristics(P25Heuristics* heuristics, int previous_dibit, // Interpreting a "00" as "11", "11" as "00", "01" as "10" or "10" as "01" counts as 2 errors number_errors = 2; } else { - // The other 12 combinations count as 1 error. + // The other 8 combinations count (where original_dibit != dibit) as 1 error. number_errors = 1; } }