Mercurial > louis > kiibohd-controller
comparison Debug/cli/cli.h @ 321:18c3c4924f20
Code cleanup from cli changes.
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Tue, 07 Apr 2015 22:11:04 -0700 |
parents | 3994a5a68793 |
children | f4d4cad283c6 |
comparison
equal
deleted
inserted
replaced
320:64f43aad73af | 321:18c3c4924f20 |
---|---|
65 | 65 |
66 #define CLIDict_Entry(name,description) \ | 66 #define CLIDict_Entry(name,description) \ |
67 const char name##CLIDict_DescEntry[] = description; | 67 const char name##CLIDict_DescEntry[] = description; |
68 #endif | 68 #endif |
69 | 69 |
70 #define RING_PREV(i) wrap(i-1,0,CLIMaxHistorySize-1) | 70 #define RING_PREV(i) CLI_wrap(i - 1, 0, CLIMaxHistorySize - 1) |
71 #define RING_NEXT(i) wrap(i+1,0,CLIMaxHistorySize-1) | 71 #define RING_NEXT(i) CLI_wrap(i + 1, 0, CLIMaxHistorySize - 1) |
72 | 72 |
73 | 73 |
74 // ----- Structs ----- | 74 // ----- Structs ----- |
75 | 75 |
76 // Each item has a name, description, and function pointer with an argument for arguments | 76 // Each item has a name, description, and function pointer with an argument for arguments |