Merge pull request #19 from morrownr/who_does_number_2_work_for

Avoid UB from out-of-bounds indexing
pull/23/head
Nick 2022-12-07 08:32:41 -06:00 committed by GitHub
commit ac87d825dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@
RTL8812F_SUPPORT == 1 || RTL8197G_SUPPORT == 1)
#define NUM 2
#else
#define NUM 1
/* Other radios only have 1 RF path, but a lot of code indexes both A and B. */
#define NUM 2
#endif
/*@-----------------------End Define Parameters-----------------------*/