mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
QC3
This commit is contained in:
@@ -29,6 +29,8 @@ void QC_DNegThree_Three() {
|
|||||||
void QC_DM_PullDown() {
|
void QC_DM_PullDown() {
|
||||||
// Turn on pulldown on D-
|
// Turn on pulldown on D-
|
||||||
gpio_set_mode(USB_DM_Pin, GPIO_INPUT_PD_MODE);
|
gpio_set_mode(USB_DM_Pin, GPIO_INPUT_PD_MODE);
|
||||||
|
gpio_set_mode(QC_DM_LOW_Pin, GPIO_INPUT_PD_MODE);
|
||||||
|
gpio_set_mode(QC_DM_HIGH_Pin, GPIO_INPUT_PD_MODE);
|
||||||
}
|
}
|
||||||
void QC_DM_No_PullDown() {
|
void QC_DM_No_PullDown() {
|
||||||
// Turn off pulldown on d-
|
// Turn off pulldown on d-
|
||||||
|
|||||||
@@ -53,6 +53,6 @@ void startPOWTask(void const *argument __unused) {
|
|||||||
#else
|
#else
|
||||||
(void)res;
|
(void)res;
|
||||||
#endif
|
#endif
|
||||||
// power_check();
|
power_check();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user