diff options
Diffstat (limited to 'tmk_core/common/util.h')
-rw-r--r-- | tmk_core/common/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tmk_core/common/util.h b/tmk_core/common/util.h index 7451cc084..5706b047d 100644 --- a/tmk_core/common/util.h +++ b/tmk_core/common/util.h | |||
@@ -22,12 +22,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
22 | 22 | ||
23 | // convert to L string | 23 | // convert to L string |
24 | #define LSTR(s) XLSTR(s) | 24 | #define LSTR(s) XLSTR(s) |
25 | #define XLSTR(s) L ## #s | 25 | #define XLSTR(s) L## #s |
26 | // convert to string | 26 | // convert to string |
27 | #define STR(s) XSTR(s) | 27 | #define STR(s) XSTR(s) |
28 | #define XSTR(s) #s | 28 | #define XSTR(s) #s |
29 | 29 | ||
30 | |||
31 | uint8_t bitpop(uint8_t bits); | 30 | uint8_t bitpop(uint8_t bits); |
32 | uint8_t bitpop16(uint16_t bits); | 31 | uint8_t bitpop16(uint16_t bits); |
33 | uint8_t bitpop32(uint32_t bits); | 32 | uint8_t bitpop32(uint32_t bits); |