Auto-generated configs and docs

This commit is contained in:
GitHub gen-configs Action 2022-09-19 01:31:32 +00:00
parent d6f504ce7c
commit 7de6639e22
2 changed files with 36 additions and 0 deletions

View File

@ -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;
}

View File

@ -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