OSDN Git Service

Update lejos_osek to nxtOSEK_v205b0.zip
[nxt-jsp/etrobo-atk.git] / nxtOSEK / lejos_nxj / src / nxtvm / platform / nxt / nxt_motors.c
index 7414f04..e845bdd 100644 (file)
@@ -157,7 +157,7 @@ nxt_motor_init(void)
   /* Enable ISR */
   aic_mask_off(AT91C_PERIPHERAL_ID_PIOA);
   aic_set_vector(AT91C_PERIPHERAL_ID_PIOA, AIC_INT_LEVEL_NORMAL,
-                nxt_motor_isr_entry);
+                (U32) nxt_motor_isr_entry);
   aic_mask_on(AT91C_PERIPHERAL_ID_PIOA);
 
   *AT91C_PIOA_IER = MOTOR_INTERRUPT_PINS;