fix: cpg init: tw1508 about 1mA

This commit is contained in:
Roy_01
2024-07-18 16:16:20 +08:00
parent 9e1e83eab3
commit a11ce3651c
+4 -4
View File
@@ -14,9 +14,9 @@
#define VERSION_DATE_YEAR 24
#define VERSION_DATE_MONTH 7
#define VERSION_DATE_DAY 10
#define VERSION_DATE_HOUR 11
#define VERSION_DATE_MINUTE 58
#define VERSION_DATE_DAY 18
#define VERSION_DATE_HOUR 16
#define VERSION_DATE_MINUTE 16
static void cis_version(uint8_t *ins, uint16_t size)
{
NRF_LOG_INFO("%s", __FUNCTION__);
@@ -103,7 +103,7 @@ const elite_instance_t cpg_elite_instance = {
const elite_instance_t *cpg_init(void)
{
tw1508_init();
tw1508_set(0, 0);
tw1508_set(5, 5);//5*0.23= 1.15mA, formula:value*0.23=mA
return &cpg_elite_instance;
}