8,9 → 8,17 |
#define ERROR_COLOR COLOR_FG_DARKRED |
#define WARNING_COLOR COLOR_BG_LIGHTYELLOW |
#define INFO_COLOR COLOR_NORMAL |
//FlightCtrl |
#define INFO_FC_COLOR COLOR_NORMAL |
//NaviCtrl |
#define INFO_NC_COLOR COLOR_FG_DARKBLUE |
//GPS |
#define INFO_GPS_COLOR COLOR_FG_DARKGREY |
//MK3MAG |
#define INFO_MK3_COLOR COLOR_FG_DARKGREEN |
|
/** |
* The FlightLog saves a human-readable log, so that we can see, what happened. |
* The FlightLog saves a human-readable log, so that we can see what happened. |
*/ |
|
class FlightLog { |
20,8 → 28,13 |
|
public: |
static void info(char * dat); |
static void info_FC(char * dat); |
static void info_NC(char * dat); |
static void info_GPS(char * dat); |
static void info_MK3(char * dat); |
static void warning(char * dat); |
static void error(char * dat); |
static void log_data(char * data, int length); |
}; |
|
#endif |