瀏覽代碼

examples: removed extra interesting tags from file

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Mihai Tudor Panu 10 年之前
父節點
當前提交
9f12002d7a
共有 1 個檔案被更改,包括 2 行新增3 行删除
  1. 2
    3
      examples/c++/nrf24l01-receiver.cxx

+ 2
- 3
examples/c++/nrf24l01-receiver.cxx 查看文件

@@ -48,12 +48,11 @@ sig_handler(int signo)
48 48
 void nrf_handler () {
49 49
     std::cout << "Reciever :: " << *((uint32_t *)&(comm->m_rxBuffer[0])) << std::endl;
50 50
 }
51
-//! [Interesting]
52 51
 
53 52
 int
54 53
 main(int argc, char **argv)
55 54
 {
56
-//! [Interesting]
55
+
57 56
     comm = new upm::NRF24L01(7, 8);
58 57
     comm->setSourceAddress ((uint8_t *) local_address);
59 58
     comm->setDestinationAddress ((uint8_t *) broadcast_address);
@@ -72,6 +71,6 @@ main(int argc, char **argv)
72 71
     std::cout << "exiting application" << std::endl;
73 72
 
74 73
     delete comm;
75
-//! [Interesting]
76 74
     return 0;
77 75
 }
76
+//! [Interesting]