Ignore:
Timestamp:
Apr 27, 2018, 2:26:14 PM (6 years ago)
Author:
coas-nagasima
Message:

syscallが関数呼びになるよう変更
他更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/app4_aircon/src/echonet_main.c

    r340 r342  
    5050#include "echonet_main.h"
    5151#include "echonet_cfg.h"
    52 #include "rx630.h"
     52#include "target_kernel_impl.h"
    5353
    5454/* TODO: メーカーコードを設定 */
     
    513513        main_btn1_state = (btn1 & 0x20) != 0;
    514514        main_btn2_state = (btn2 & 0x80) != 0;
     515
     516        ER ret = act_tsk(MAIN_TASK);
     517        if (ret != E_OK) {
     518                syslog(LOG_ERROR, "act_tsk");
     519        }
    515520}
    516521
     
    11761181        /* 500msパルス出力 */
    11771182        main_rly_state = main_rly_state_on;
    1178         main_rly_timer = 500;
     1183        main_rly_timer = 500 * 1000;
    11791184}
    11801185
Note: See TracChangeset for help on using the changeset viewer.