~aleteoryx/muditaos

ref: 6cd7e91800706916449852545881f1356bc8fedd muditaos/module-bsp/board/linux/headset/headset.cpp -rw-r--r-- 659 bytes
6cd7e918 — Lefucjusz [BH-1826] Fix corner case for new progress bar design 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "headset.hpp"

namespace bsp
{
    namespace headset
    {

        int32_t Init(xQueueHandle qHandle)
        {
            return 1;
        }

        HeadsetState headset_get_data(bool &headsetState, bool &microphoneState, uint8_t &keyEvent, uint8_t &keyCode)
        {
            return HeadsetState::NoChange;
        }

        bool IsInserted()
        {
            return false;
        }

        int32_t Deinit()
        {
            return 1;
        }
    } // namespace headset
} // namespace bsp