remove ATTR_WEAK for all necessary driver callback

fix ceedling tests
This commit is contained in:
hathach
2013-09-21 00:42:39 +07:00
parent f8f398a681
commit 295612b48f
11 changed files with 137 additions and 46 deletions
@@ -47,8 +47,8 @@
#include "mock_osal.h"
#include "mock_hcd.h"
#include "mock_usbh.h"
#include "hid_host.h"
#include "mock_hidh_callback.h"
uint8_t dev_addr;
pipe_handle_t pipe_hdl;
@@ -89,6 +89,7 @@ void test_hidh_close(void)
keyboard_data[dev_addr-1].report_size = 8;
hcd_pipe_close_ExpectAndReturn(pipe_hdl, TUSB_ERROR_NONE);
tusbh_hid_keyboard_unmounted_isr_Expect(dev_addr);
//------------- Code Under TEST -------------//
hidh_close(dev_addr);