Skip to content

Commit

Permalink
执行程序时输出作者信息
Browse files Browse the repository at this point in the history
  • Loading branch information
chase535 authored Dec 10, 2023
1 parent 76f1bd2 commit 60bb9ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accurate_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ int main(int argc, char *argv[])
{
char battery[10],current_char[30],charge_status[25];
int power=0,current=0,full=0,num=0,no_trickle=100,charge_full=0;
printf("作者:酷安@诺鸡鸭\n");
printf("GitHub开源地址:https://github.com/chase535/accurate_battery\n\n");
fflush(stdout);
if(argc < 2)
{
printf_with_time("请传入真实电量文件路径!");
Expand Down

0 comments on commit 60bb9ec

Please sign in to comment.