diff --git a/usb/src/usb_hal.h b/usb/src/usb_hal.h index e1900b9..4cc8f1f 100644 --- a/usb/src/usb_hal.h +++ b/usb/src/usb_hal.h @@ -136,6 +136,9 @@ struct buffer_descriptor { #ifdef _16F1459 #define BD_ADDR 0x2000 #define BUFFER_ADDR 0x2080 +#elif defined _18F2550 +#define BD_ADDR 0x0400 +#define BUFFER_ADDR 0x500 #else #error "CPU not supported yet" #endif @@ -412,4 +415,4 @@ struct buffer_descriptor { -#endif /* USB_HAL_H__ */ \ No newline at end of file +#endif /* USB_HAL_H__ */