Commit f63094da authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Repair the reminder to keep the type list in sync with the *2str() function.

	modified:   controller/controller/controller_block.c
	modified:   controller/controller/controller_block.h
parent 86c7cdc6
......@@ -134,6 +134,8 @@ err:
return ret;
}
// Keep this list in sync with the controller_block_term_type enum in
// controller_block.h !
static char * controller_block_term_type2str(enum controller_block_term_type et)
{
switch (et) {
......
......@@ -27,7 +27,8 @@
#include <semaphore.h>
#include <stdarg.h>
// Keep this enum in sync with the term_type_str array in controller_block.c !
// Keep this enum in sync with the list in controller_block_term_type2str() in
// controller_block.c !
enum controller_block_term_type {
CONTROLLER_BLOCK_TERM_VOID = 0, /* Special case for checks... do NOT use! */
CONTROLLER_BLOCK_TERM_FLOAT,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment