Commit Graph

61 Commits

Author SHA1 Message Date
Andrew Tridgell 60d3df50ae AP_HAL: changed delay() to take a uint16_t
this allows for up to 32 second delays, and saves a bit of flash space
2012-12-20 14:53:23 +11:00
Pat Hickey c86004d676 AP_HAL: Add panic method to scheduler 2012-12-20 14:52:31 +11:00
Pat Hickey 592d32ba47 AP_HAL: add reboot to scheduler 2012-12-20 14:51:32 +11:00
Pat Hickey c9541d3b00 AP_HAL: added begin_atomic and end_atomic to scheduler 2012-12-20 14:51:29 +11:00
Pat Hickey bae7e4b88e AP_HAL Scheduler: simplify register_timer_process, min time for delay cb 2012-12-20 14:51:27 +11:00
Pat Hickey d422ab7806 AP_HAL: Extend Scheduler to support defered timer procs
* based on queue_proc from AP_PeriodicProcess
2012-12-20 14:51:26 +11:00
Pat Hickey 6671310399 AP_HAL Scheduler: interface has AP_PeriodicProcess functionality 2012-12-20 14:51:22 +11:00
Pat Hickey 187571cca9 AP_HAL Scheduler fixes & AP_HAL_AVR Scheduler changed to match 2012-12-20 14:51:22 +11:00
Pat Hickey 2adfc4fbc5 AP_HAL Scheduler add method register_delay_callback (unimplemented) 2012-12-20 14:51:22 +11:00
Pat Hickey 1d89419059 AP_HAL: Scheduler should use stdint types, conform names 2012-12-20 14:51:22 +11:00
Pat Hickey ea8242ace1 AP_HAL: Add scheduler interface, move Arduino init code to implementation 2012-12-20 14:51:19 +11:00