unleashed-firmware/applications/external/totp/services/convert/convert.h
2023-03-15 01:25:18 +03:00

5 lines
114 B
C

#pragma once
#define CONVERT_DIGIT_TO_CHAR(digit) ((digit) + '0')
#define CONVERT_CHAR_TO_DIGIT(ch) ((ch) - '0')