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/app6_hot_water_pot/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: メーカーコードを設定 */
     
    386386        main_btn1_state = (btn1 & 0x80) != 0;
    387387        main_btn2_state = (btn2 & 0x80) != 0;
     388
     389        ER ret = act_tsk(MAIN_TASK);
     390        if (ret != E_OK) {
     391                syslog(LOG_ERROR, "act_tsk");
     392        }
    388393}
    389394
Note: See TracChangeset for help on using the changeset viewer.