From: Jérémie D. <Ba...@us...> - 2010-05-23 15:40:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "krobot". The branch, master has been updated via 6ed445d2f79860a1a6251c6013b25c2d98f3fad2 (commit) from 217a9ec1d740143de8973a71ffbe35d58dfca212 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6ed445d2f79860a1a6251c6013b25c2d98f3fad2 Author: Jérémie Dimino <je...@di...> Date: Sun May 23 17:35:18 2010 +0200 send a command to one ax12 each time the interface card comes up ----------------------------------------------------------------------- Changes: diff --git a/info/control/driver/driver.ml b/info/control/driver/driver.ml index 420934a..eed1d80 100644 --- a/info/control/driver/driver.ml +++ b/info/control/driver/driver.ml @@ -1446,7 +1446,10 @@ lwt () = ~vendor_id:PcInterface.usb_vid ~product_id:PcInterface.usb_pid_robot_interface ~set:set_card_interface - (fun card -> Gate.enable ()) + (fun card -> + lwt () = Gate.enable () in + lwt _ = get_ax12 1 in + return ()) (fun () -> return ()) in hooks/post-receive -- krobot |