Prusa MINI Firmware overview
marlin_events.c File Reference
#include "marlin_events.h"
#include <stdio.h>

Functions

const char * marlin_events_get_name (uint8_t evt_id)
 

Variables

const char * __evt_name []
 

Function Documentation

◆ marlin_events_get_name()

const char* marlin_events_get_name ( uint8_t  evt_id)
40  {
41  if (evt_id <= MARLIN_EVT_MAX)
42  return __evt_name[evt_id];
43  return "";
44 }
Here is the caller graph for this function:

Variable Documentation

◆ __evt_name

const char* __evt_name[]
__evt_name
const char * __evt_name[]
Definition: marlin_events.c:7
MARLIN_EVT_MAX
#define MARLIN_EVT_MAX
Definition: marlin_events.h:39