~aleteoryx/muditaos

ref: 9acd593d878cc53a9c80b81fec9f6620ce72094d muditaos/module-bsp/bsp/common.cpp -rw-r--r-- 485 bytes
9acd593d — Wojtek Rzepecki [EGD-7388] Fix unresponsive keyboard 4 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
#include "common.hpp"

namespace bsp{
   	const char *c_str(const Board &board)
    {
            switch (board) {
            case Board::T3:
                return "T3";
                break;
            case Board::T4:
                return "T4";
                break;
            case Board::Linux:
                return "Linux";
                break;
            case Board::none:
            default:
                return "none";
                break;
        }
   }
};