mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
examples: removed extra interesting tags from file
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
e54d48f407
commit
9f12002d7a
@ -48,12 +48,11 @@ sig_handler(int signo)
|
|||||||
void nrf_handler () {
|
void nrf_handler () {
|
||||||
std::cout << "Reciever :: " << *((uint32_t *)&(comm->m_rxBuffer[0])) << std::endl;
|
std::cout << "Reciever :: " << *((uint32_t *)&(comm->m_rxBuffer[0])) << std::endl;
|
||||||
}
|
}
|
||||||
//! [Interesting]
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
//! [Interesting]
|
|
||||||
comm = new upm::NRF24L01(7, 8);
|
comm = new upm::NRF24L01(7, 8);
|
||||||
comm->setSourceAddress ((uint8_t *) local_address);
|
comm->setSourceAddress ((uint8_t *) local_address);
|
||||||
comm->setDestinationAddress ((uint8_t *) broadcast_address);
|
comm->setDestinationAddress ((uint8_t *) broadcast_address);
|
||||||
@ -72,6 +71,6 @@ main(int argc, char **argv)
|
|||||||
std::cout << "exiting application" << std::endl;
|
std::cout << "exiting application" << std::endl;
|
||||||
|
|
||||||
delete comm;
|
delete comm;
|
||||||
//! [Interesting]
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
//! [Interesting]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user