]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fixed indentation. rx_timestamp -> rxTimestamp
authorscipio <scipio>
Fri, 27 Jun 2008 23:19:46 +0000 (23:19 +0000)
committerscipio <scipio>
Fri, 27 Jun 2008 23:19:46 +0000 (23:19 +0000)
apps/tests/TestFTSP/TestFTSPAppC.nc
apps/tests/TestFTSP/TestFTSPC.nc

index a3f053319947dda8c403ad2fae53a4be8a4373da..f3634e2060503ab70ba329af9af3a2b17c3961e3 100644 (file)
@@ -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();
index c73de62852b8c0a9e6522956d69b2f63d2fec56a..f32d3ae14150e3409b6e6b5078b4d361c35d270d 100644 (file)
@@ -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;