Oleg Hahm
52017a967a
Merge pull request #2545 from kushalsingh007/refactor_vtimer_set_msg
...
Changing return type of vtimer_set_msg
2015-03-19 17:24:40 +01:00
kushalsingh007
1dc6c3581f
vtimer: changing return type of several functions to void
...
- Changed the return type for vtimer_init,vtimer_set_msg and vtimer_remove.
- Current return value is not used anywhere and has no meaning attached to it.
- Fix for #1533
- Removed tests which checked for vtimer_set_msg being set.
- Done doxygen adaption for corresponding vtimer functions.
2015-03-19 03:56:00 +05:30
Oleg Hahm
8537344db9
doc: update outdated vtimer documentation
...
vtimer was changed in 6ee5e737f9
to use a
user specified type for vtimer_set_msg(), but documentation didn't
reflect this new API.
2015-03-13 10:25:48 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
Oleg Hahm
fb3e8939df
doc: fix vtimer documentation
2014-12-05 20:33:10 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
BytesGalore
de3c3cebd0
c++: sys: add extern C to header files
2014-11-08 20:09:55 +01:00
Oleg Hahm
c33e1b5dad
Merge pull request #1844 from OlegHahm/doxygen_cleanup
...
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Martine Lenders
f7d9b02d7e
vtimer: improve documentation of vtimer_set_msg()
2014-10-23 21:28:15 +02:00
Oleg Hahm
a9a5c2da1c
doc: fix vtimer documentation
2014-10-23 20:53:00 +02:00
Oleg Hahm
206b75933e
doc: fixed remaining doxygen warnings in core
...
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
54d7e5f748
sys: vtimer: add license header
2014-09-03 14:18:11 +02:00
Ludwig Ortmann
c2b2e4554b
core/queue: queue -> priority_queue
...
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
René Kijewski
2231a315d4
vtimer: fix callback usage
...
There is no need to test the "handler" set in the vtimer struct, and
have some code executed then. We just can make the code to execute the
handler. To lengthy `if else if`, just a call.
2014-06-03 21:07:59 +02:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
Christian Mehlis
3d67ad3a8a
add vtimer_get_localtime
2013-12-23 23:36:03 +01:00
Hauke Petersen
2df82017a8
Fixed doxygen inconsistensies in sys
2013-12-16 15:09:18 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Christian Mehlis
0cb152c423
added vtimer_msg_receive_timeout
2013-12-09 22:14:59 +01:00
Christian Mehlis
9c70e4501c
only include debug functions if needed
2013-10-11 14:21:47 +02:00
Oleg Hahm
e65ae85640
remove static for vtimer_print
2013-08-15 19:13:21 +02:00
Alaeddine WESLATI
11bb09b7f8
started adding at86rf231 driver
...
at86rf231 TX and RX
driver is using vtimer instead of hwtimer_ functions, TO CHECK
vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Christian Mehlis
9549c29ccb
fix missing includes
2013-06-30 01:53:53 +02:00
Oliver Hahm
bf85e4902c
Merge branch 'rpl' of ssh://ukleos.org:2222/home/git/ukleos
...
Conflicts:
board/msba2-common/tools/src/control_2xxx.c
drivers/cc110x/cc1100-interface.h
projects/test_rpl/main.c
sys/include/vtimer.h
sys/net/sixlowpan/rpl/Jamfile
sys/net/sixlowpan/rpl/objective_functions.c
sys/net/sixlowpan/rpl/objective_functions.h
sys/net/sixlowpan/rpl/of0.c
sys/net/sixlowpan/rpl/of0.h
sys/net/sixlowpan/rpl/rpl.c
sys/net/sixlowpan/rpl/rpl_dodag.c
sys/net/sixlowpan/rpl/rpl_structs.h
sys/net/sixlowpan/rpl/trickle.c
sys/net/sixlowpan/sixlowmac.c
sys/vtimer/vtimer.c
2013-06-28 17:53:21 +02:00
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
2013-06-22 05:11:53 +02:00
Christian Mehlis
8faf6b77b6
add a print function for timex and vtimer
2013-06-14 20:38:27 +02:00
Christian Mehlis
3ab669578c
do includes the right way (for riot includes)
2013-06-14 20:33:28 +02:00
Christian Mehlis
4d8783e023
use out parameter for vtimer_now
2013-06-13 10:23:47 +02:00
Stephan Arndt
adfc3306ab
WARNING: BROKEN COMMIT added not working etx_beaconing into rpl, added small vtimer debug changes, changed cc1100 default mode
2013-03-15 17:48:13 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
d423176587
[sys vtimer]
...
* removed vtimer_set_cb
2011-12-01 13:28:20 +01:00
Oliver Hahm
04936c6c0f
[sys vtimer]
...
* set timer->pid to 0 for set_cb and set_wakeup
2011-11-30 15:50:36 +01:00
Oliver Hahm
15d27d8244
* Wiselib update for the linekrscript
...
* some minor changes in vtimer
2011-06-24 18:54:20 +02:00
54b8f9b48a
* vtimer: api doc updates
2010-12-10 17:31:26 +01:00
1ee8fb13dd
* vtimer: api compatible to swtimer.
2010-12-10 17:16:18 +01:00
6a950320ae
* vtimer: new virtual timer implementation
2010-12-06 16:02:40 +01:00