Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. diff --git a/src/hal/drivers/mesa-hostmot2/hm2_eth.c b/src/hal/drivers/mesa-hostmot2/hm2_eth.c
  2. index f88bd20..dd64330 100644
  3. --- a/src/hal/drivers/mesa-hostmot2/hm2_eth.c
  4. +++ b/src/hal/drivers/mesa-hostmot2/hm2_eth.c
  5. @@ -259,9 +259,9 @@ static void hm2_eth_probe() {
  6. board->llio.write = hm2_eth_write;
  7. board->llio.queue_read = hm2_eth_enqueue_read;
  8.  
  9. - num_boards++;
  10.  
  11. r = hm2_register(&board->llio, config[num_boards]);
  12. + num_boards++;
  13. if (r != 0) {
  14. rtapi_print("board fails HM2 registration\n");
  15. return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement