mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
16 lines
256 B
C++
16 lines
256 B
C++
#include "Bq25896.h"
|
|
|
|
#include <Tactility/Log.h>
|
|
|
|
constexpr auto* TAG = "BQ25896";
|
|
|
|
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));
|
|
}
|