Merge branch 'master' of https://github.com/rt-thread/rt-thread into rtt_issues

This commit is contained in:
Wayne Lin
2020-05-15 09:41:27 +08:00
404 changed files with 91675 additions and 4505 deletions
@@ -426,7 +426,7 @@ static rt_size_t _read_capacity(ufunction_t func, ustorage_cbw_t cbw)
data = (struct mstorage*)func->user_data;
buf = data->ep_in->buffer;
sector_count = data->geometry.sector_count;
sector_count = data->geometry.sector_count - 1; /* Last Logical Block Address */
sector_size = data->geometry.bytes_per_sector;
buf[0] = sector_count >> 24;
+2 -2
View File
@@ -8,8 +8,8 @@
* 2011-12-12 Yi Qiu first version
*/
#ifndef __HID_H__
#define __HID_H__
#ifndef __ADK_H__
#define __ADK_H__
#include <rtthread.h>