Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usb_hal.h #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion usb/src/usb_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -412,4 +415,4 @@ struct buffer_descriptor {



#endif /* USB_HAL_H__ */
#endif /* USB_HAL_H__ */