mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
CLOSER 対応
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@509 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
4dc37122be
commit
1d705506f6
Binary file not shown.
@ -13,6 +13,7 @@
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{9DF31AC3-BD19-4158-BD6F-9CFE64AEE5D2}</ProjectGuid>
|
||||
<RootNamespace>bsr_trunk</RootNamespace>
|
||||
<ProjectName>arr_trunk</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
|
||||
@ -200,11 +200,16 @@ void chk_platform_type()
|
||||
// ●CTRファミリ //
|
||||
system_status.family = (enum family_)( DEV_DET >> 1 ); /// あぁ...
|
||||
|
||||
#ifdef _DBG_FORCE_FLOWER
|
||||
#ifdef _DBG_FORCE_xxx
|
||||
// 強制的に機種設定をしてデバッグしたいとき
|
||||
// system_status.family = FAMILY_FLOWER;
|
||||
#endif
|
||||
|
||||
if( system_status.family == FAMILY_SPFL )
|
||||
{
|
||||
system_status.family == FAMILY_CLOSER;
|
||||
}
|
||||
|
||||
if( system_status.family == FAMILY_CTR )
|
||||
{
|
||||
system_status.LCD_is_CGS = true;
|
||||
|
||||
@ -1036,7 +1036,7 @@ task_status_immed tski_vcom_set( )
|
||||
|
||||
void set_vdd_voltages( enum family_ family )
|
||||
{
|
||||
if( family == FAMILY_SNAKE )
|
||||
if(( family == FAMILY_SNAKE ) || ( family == FAMILY_CLOSER ))
|
||||
{
|
||||
// SNAKE
|
||||
pmreg_v_core = PM_REG_BIT_VDD1P_1R00;
|
||||
@ -1355,8 +1355,9 @@ void bt_param_select()
|
||||
{
|
||||
case( FAMILY_SPFL ): bt_type_temp += BT_PARAM_SPFL_MAXELL; break; // オフセット 残念な実装で…。
|
||||
case( FAMILY_SNAKE ): bt_type_temp += BT_PARAM_SNAKE_MAXELL; break;
|
||||
case( FAMILY_CLOSER ): bt_type_temp += BT_PARAM_SPFL_MAXELL; break;
|
||||
case( FAMILY_CTR ):
|
||||
case( FAMILY_FLOWER ): // CTR と同じ物を使う
|
||||
case( FAMILY_FLOWER ): // CTR と同じ
|
||||
default: /* bt_type_temp そのまま */ break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user