mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-21 07:55:06 +00:00
14 lines
217 B
C++
14 lines
217 B
C++
#include "Bq25896.h"
|
|
|
|
#define TAG "BQ27220"
|
|
|
|
void Bq25896::powerOff() {
|
|
TT_LOG_I(TAG, "Power off");
|
|
bitOn(0x09, BIT(5));
|
|
}
|
|
|
|
void Bq25896::powerOn() {
|
|
TT_LOG_I(TAG, "Power on");
|
|
bitOff(0x09, BIT(5));
|
|
}
|