1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2026-06-12 14:10:44 +08:00

修复宏定义小错误,优化一点点性能

This commit is contained in:
fumiama
2021-09-11 23:16:10 +08:00
parent a8f125aca3
commit 57e4e4f8b6
2 changed files with 12 additions and 9 deletions

2
cmoe.h
View File

@@ -3,6 +3,7 @@
#define DATFILE "dat.sp"
#define TOKEN "fumiama"
#define COUNTER_NAME_LEN 64
struct COUNTER {
char name[COUNTER_NAME_LEN];
@@ -31,6 +32,7 @@ const uint16_t gbhl[] = {1550, 1702, 1870, 1778, 1618, 2370, 1830, 2234, 1914, 1
#define H_SMALL 100
#define W_BIG 68
#define H_BIG 150
const char svg_small[] =
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"450\" height=\"100\" version=\"1.1\">\n"
" <title>Moe Count</title>\n"