• spiiroin's avatar
    [mce-sensorfw] Refactor mce - sensorfwd IPC. JB#41369 · 17104348
    spiiroin authored
    So far MCE has utilized only three sensors - all of which report a single
    unsigned integer value. This has allowed code to organically grow in to a
    form that requires numerous glue functions for each sensor type and is
    ill-prepared for handling sensors that report vector form data.
    Reduce the amount of glue functions that needs to be implemented for each
    supported sensor type and stop assuming sensor data will be a single integer
    Handle situations where the standby-override attribute is not supported for
    an otherwise functioning sensor.
    Do not attempt to start mce-starting-up exceptional situation before the
    objects required by such operation have been created.
    Also fix spelling of some constants from SWF_xxx to SFW_xxx.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
mce-sensorfw.dot 4.44 KB