Skip to content

Commit

Permalink
compatible with the old API
Browse files Browse the repository at this point in the history
Modified the library file of AXP192 to be compatible with the old API
  • Loading branch information
Hades2001 committed Dec 8, 2020
1 parent 5380ac6 commit 254a05b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AXP192.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#define AXP_ADDR 0X34

#define PowerOff(x) SetSleep(x)

class AXP192 {
public:

Expand Down

0 comments on commit 254a05b

Please sign in to comment.