- Timestamp:
- Apr 27, 2018, 2:26:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/echonet_main.c
r340 r342 50 50 #include "echonet_main.h" 51 51 #include "echonet_cfg.h" 52 #include " rx630.h"52 #include "target_kernel_impl.h" 53 53 #include "ff.h" 54 54 #include "diskio.h" … … 59 59 #include <net/ethernet.h> 60 60 #include <net/if_var.h> 61 #include "ntshell_main.h" 61 62 62 63 /* TODO: メーカーコードを設定 */ … … 504 505 505 506 /* 3ms後に7SEG表示を更新 */ 506 main_led_timer = 3 ;507 main_led_timer = 3 * 1000; 507 508 508 509 /* 10ms後にボタン状態を確認 */ 509 main_timer = 10 ;510 main_timer = 10 * 1000; 510 511 511 512 /* 12bitADC初期化 */ … … 520 521 521 522 /* 1秒後に表示を更新 */ 522 main_adv_timer = 1000; 523 main_adv_timer = 1000 * 1000; 524 525 ER ret = act_tsk(MAIN_TASK); 526 if (ret != E_OK) { 527 syslog(LOG_ERROR, "act_tsk"); 528 } 523 529 } 524 530 … … 759 765 760 766 if (electric_energy_meter_data[0].current_pos == 0) { 761 //act_tsk(CLIENT_TASK);767 cmd_execute("logupload", NULL); 762 768 } 763 769 }
Note:
See TracChangeset
for help on using the changeset viewer.