Changeset 555
- Timestamp:
- 04/28/08 14:02:02 (3 weeks ago)
- Files:
-
- nano-RK/projects/SAMPL/client/main.c (modified) (4 diffs)
- nano-RK/projects/SAMPL/include/sampl.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nano-RK/projects/SAMPL/client/main.c
r554 r555 191 191 192 192 // 100 ms by default 193 last_flood_check_rate = 100;193 last_flood_check_rate = DEFAULT_CHECK_RATE; 194 194 // Setup some default values 195 195 ff_state = IDLE_STATE; … … 452 452 453 453 check_period.secs = 0; 454 check_period.nano_secs = 100* NANOS_PER_MS;454 check_period.nano_secs = DEFAULT_CHECK_RATE * NANOS_PER_MS; 455 455 val = bmac_set_rx_check_rate (check_period); 456 456 … … 568 568 569 569 check_period.secs = 0; 570 check_period.nano_secs = 100* NANOS_PER_MS;570 check_period.nano_secs = DEFAULT_CHECK_RATE * NANOS_PER_MS; 571 571 val = bmac_set_rx_check_rate (check_period); 572 572 } … … 616 616 p2p_pending=0; 617 617 check_period.secs = 0; 618 check_period.nano_secs = 100* NANOS_PER_MS;618 check_period.nano_secs = DEFAULT_CHECK_RATE * NANOS_PER_MS; 619 619 val = bmac_set_rx_check_rate (check_period); 620 620 nrk_led_clr (RED_LED); nano-RK/projects/SAMPL/include/sampl.h
r554 r555 59 59 #define MAX_DELAY_PER_LEVEL 5 60 60 #define MAX_HOPS 32 61 62 63 #define DEFAULT_CHECK_RATE 100 61 64 62 65 // error flags for packets
