From fcb117d8c101ca455d5728fd9772ca69a6bfe0ae Mon Sep 17 00:00:00 2001 From: scipio Date: Fri, 27 Jun 2008 23:19:46 +0000 Subject: [PATCH] Fixed indentation. rx_timestamp -> rxTimestamp --- apps/tests/TestFTSP/TestFTSPAppC.nc | 8 ++++---- apps/tests/TestFTSP/TestFTSPC.nc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/tests/TestFTSP/TestFTSPAppC.nc b/apps/tests/TestFTSP/TestFTSPAppC.nc index a3f05331..f3634e20 100644 --- a/apps/tests/TestFTSP/TestFTSPAppC.nc +++ b/apps/tests/TestFTSP/TestFTSPAppC.nc @@ -57,13 +57,13 @@ implementation radio_count_msg_t* rcm = (radio_count_msg_t*)call Packet.getPayload(msgPtr, sizeof(radio_count_msg_t)); test_ftsp_msg_t* report = (test_ftsp_msg_t*)call Packet.getPayload(&msg, sizeof(test_ftsp_msg_t)); - uint32_t rx_timestamp = call PacketTimeStamp.timestamp(msgPtr); + uint32_t rxTimestamp = call PacketTimeStamp.timestamp(msgPtr); report->src_addr = TOS_NODE_ID; report->counter = rcm->counter; - report->local_rx_timestamp = rx_timestamp; - report->is_synced = call GlobalTime.local2Global(&rx_timestamp); - report->global_rx_timestamp = rx_timestamp; + report->local_rx_timestamp = rxTimestamp; + report->is_synced = call GlobalTime.local2Global(&rxTimestamp); + report->global_rx_timestamp = rxTimestamp; report->skew_times_1000000 = (uint32_t)call TimeSyncInfo.getSkew()*1000000UL; report->ftsp_root_addr = call TimeSyncInfo.getRootID(); report->ftsp_seq = call TimeSyncInfo.getSeqNum(); diff --git a/apps/tests/TestFTSP/TestFTSPC.nc b/apps/tests/TestFTSP/TestFTSPC.nc index c73de628..f32d3ae1 100644 --- a/apps/tests/TestFTSP/TestFTSPC.nc +++ b/apps/tests/TestFTSP/TestFTSPC.nc @@ -29,12 +29,12 @@ configuration TestFTSPC { } implementation { - components MainC, TimeSyncC; + components MainC, TimeSyncC; MainC.SoftwareInit -> TimeSyncC; TimeSyncC.Boot -> MainC; - components TestFTSPAppC as App; + components TestFTSPAppC as App; App.Boot -> MainC; components ActiveMessageC; -- 2.39.2