summaryrefslogtreecommitdiffstats
path: root/src/modules/brightness/option.h
blob: a31228d8811570d0e29555751bd127db6e223637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "common/option.h"
#include "common/percent.h"

typedef struct FFBrightnessOptions {
    FFModuleArgs moduleArgs;

    uint32_t ddcciSleep; // ms
    FFPercentageModuleConfig percent;
    bool compact;
} FFBrightnessOptions;

static_assert(sizeof(FFBrightnessOptions) <= FF_OPTION_MAX_SIZE, "FFBrightnessOptions size exceeds maximum allowed size");