aboutsummaryrefslogtreecommitdiff
path: root/SignalLevel.cpp
blob: daba33ca3612cdff9a95939a46d8fe2650d0d503 (plain)
1
2
3
4
5
6
7
8
9
#include "SignalLevel.h"

std::string std::to_string(SignalLevel level) {
	if (level == HIGH) return "HIGH";
	if (level == LOW) return "LOW";
	if (level == UNDEFINED) return "UNDEFINED";
	return "???";
}