mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-20 00:32:37 +01:00
lower defautl currents
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
#include "drv_sm2135.h"
|
||||
|
||||
static softI2C_t g_softI2C;
|
||||
static int g_current_setting_cw = SM2135_20MA;
|
||||
static int g_current_setting_rgb = SM2135_20MA;
|
||||
static int g_current_setting_cw = SM2135_15MA;
|
||||
static int g_current_setting_rgb = SM2135_15MA;
|
||||
|
||||
float GetRGBCW(float *ar, int index) {
|
||||
if (index < 0 || index >= 5) {
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#include "drv_sm2235.h"
|
||||
|
||||
static softI2C_t g_softI2C;
|
||||
static int g_cur_RGB = 2;
|
||||
static int g_cur_CW = 4;
|
||||
static int g_cur_RGB = 1;
|
||||
static int g_cur_CW = 2;
|
||||
|
||||
void SM2235_Write(float *rgbcw) {
|
||||
unsigned short cur_col_10[5];
|
||||
|
||||
Reference in New Issue
Block a user