~aleteoryx/muditaos

ref: 200c9b949d964dea034de7ea6ad9f6ce04a49643 muditaos/module-bsp/bsp/common.cpp -rw-r--r-- 485 bytes
200c9b94 — Jakub Pyszczak [EGD-7432] Tags fetcher 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;
        }
   }
};