mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-06 10:47:35 +01:00
lib: declare fir coefficients as constant
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
015c78a4ca
commit
86be727e52
@ -537,7 +537,7 @@ void rtlsdr_init_baseband(rtlsdr_dev_t *dev)
|
||||
|
||||
/* default FIR coefficients used for DAB/FM by the Windows driver,
|
||||
* the DVB driver uses different ones */
|
||||
uint8_t fir_coeff[] = {
|
||||
const uint8_t fir_coeff[] = {
|
||||
0xca, 0xdc, 0xd7, 0xd8, 0xe0, 0xf2, 0x0e, 0x35, 0x06, 0x50,
|
||||
0x9c, 0x0d, 0x71, 0x11, 0x14, 0x71, 0x74, 0x19, 0x41, 0xa5,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user