mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
oops
This commit is contained in:
parent
821f5bab18
commit
7b56945538
1 changed files with 4 additions and 3 deletions
|
@ -29,9 +29,10 @@ const FuriHalRegionBand* furi_hal_region_get_band(uint32_t frequency) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
for(size_t i = 0; i < region->bands_count; i++) {
|
||||
if(region->bands[i].start <= frequency && region->bands[i].end >= frequency) {
|
||||
return ®ion->bands[i];
|
||||
for(size_t i = 0; i < furi_hal_region->bands_count; i++) {
|
||||
if(furi_hal_region->bands[i].start <= frequency &&
|
||||
furi_hal_region->bands[i].end >= frequency) {
|
||||
return &furi_hal_region->bands[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue