Skip to content

Commit

Permalink
Bump to v0.2
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
  • Loading branch information
FlyGoat committed Feb 5, 2019
1 parent d5fee36 commit c18682c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define STRINGIFY2(X) #X
#define STRINGIFY(X) STRINGIFY2(X)

#define VER_STR "v0.0.1"
#define VER_STR "v0.0.2"

#define _do_adjust(ARG, OPT) \
do{ \
Expand Down Expand Up @@ -85,7 +85,7 @@ int main(int argc, const char **argv)
memset(args, 0, sizeof(*args));

smu_service_req(nb, 0x3, args);
if(args->arg0 != 0x5){
if(args->arg0 != 0x5 && args->arg0 != 0x5){
printf("Not a Ryzen NB SMU, BIOS Interface Ver: 0x%x",args->arg0);
err = -1;
goto out_err;
Expand All @@ -110,4 +110,4 @@ int main(int argc, const char **argv)
out_free_pci_obj:
free_pci_obj(pci_obj);
return err;
}
}

0 comments on commit c18682c

Please sign in to comment.