Auto-generated configs and docs
This commit is contained in:
parent
6bb85d2aa3
commit
eea87274a8
|
@ -0,0 +1,26 @@
|
||||||
|
#include "global.h"
|
||||||
|
#include "can_category.h"
|
||||||
|
// was generated automatically by rusEFI tool from can_category.h // by enum2string.jar tool on Mon Sep 19 01:30:13 UTC 2022
|
||||||
|
// see also gen_config_and_enums.bat
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const char *getCanCategory(CanCategory value){
|
||||||
|
switch(value) {
|
||||||
|
case CanCategory::DOWNSTREAM_FLASHING:
|
||||||
|
return "DOWNSTREAM_FLASHING";
|
||||||
|
case CanCategory::LUA:
|
||||||
|
return "LUA";
|
||||||
|
case CanCategory::NBC:
|
||||||
|
return "NBC";
|
||||||
|
case CanCategory::OBD:
|
||||||
|
return "OBD";
|
||||||
|
case CanCategory::SERIAL:
|
||||||
|
return "SERIAL";
|
||||||
|
case CanCategory::VERBOSE:
|
||||||
|
return "VERBOSE";
|
||||||
|
case CanCategory::WBO_SERVICE:
|
||||||
|
return "WBO_SERVICE";
|
||||||
|
}
|
||||||
|
return NULL;
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
// was generated automatically by rusEFI tool from can_category.h // by enum2string.jar tool on Mon Sep 19 01:30:13 UTC 2022
|
||||||
|
// see also gen_config_and_enums.bat
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "can_category.h"
|
||||||
|
#pragma once
|
||||||
|
#if __cplusplus
|
||||||
|
const char *getCanCategory(CanCategory value);
|
||||||
|
#endif //__cplusplus
|
Loading…
Reference in New Issue