mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Renamed 'rxRuntimeConfig' to 'rxRuntimeState'.
This commit is contained in:
parent
564f3031b2
commit
0a0d3631a7
71 changed files with 463 additions and 463 deletions
|
@ -261,12 +261,12 @@ static void drawRxChannel(uint8_t channelIndex, uint8_t width)
|
|||
#define RX_CHANNELS_PER_PAGE_COUNT 14
|
||||
static void showRxPage(void)
|
||||
{
|
||||
for (int channelIndex = 0; channelIndex < rxRuntimeConfig.channelCount && channelIndex < RX_CHANNELS_PER_PAGE_COUNT; channelIndex += 2) {
|
||||
for (int channelIndex = 0; channelIndex < rxRuntimeState.channelCount && channelIndex < RX_CHANNELS_PER_PAGE_COUNT; channelIndex += 2) {
|
||||
i2c_OLED_set_line(bus, (channelIndex / 2) + PAGE_TITLE_LINE_COUNT);
|
||||
|
||||
drawRxChannel(channelIndex, HALF_SCREEN_CHARACTER_COLUMN_COUNT);
|
||||
|
||||
if (channelIndex >= rxRuntimeConfig.channelCount) {
|
||||
if (channelIndex >= rxRuntimeState.channelCount) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue