~aleteoryx/muditaos

ref: 45a7216cec39636bbd7b7b008e6c5c2b92279680 muditaos/module-bsp/bsp/common.cpp -rw-r--r-- 485 bytes
45a7216c — Paweł Joński [EGD-7217] Separate commonly used headers from application-calendar 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;
        }
   }
};