Skip to content

Commit

Permalink
[radio] fix sub-ghz build wrt channel page index (openthread#11033)
Browse files Browse the repository at this point in the history
The .cpp file uses channel page2 for subghz channels, not page1, this fixes that.
  • Loading branch information
brian-level authored Dec 13, 2024
1 parent d539ad3 commit 1e3c4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/radio/radio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ class Radio : public InstanceLocator, private NonCopyable
#endif

#if OPENTHREAD_CONFIG_RADIO_915MHZ_OQPSK_SUPPORT
if (aChannelPage == kChannelPage1)
if (aChannelPage == kChannelPage2)
{
mask = OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK;
}
Expand Down

0 comments on commit 1e3c4d7

Please sign in to comment.