stm32f4 target spec code compiling
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "gpio.h"
|
||||
#include "i2c.h"
|
||||
#include "pwm.h"
|
||||
#include "rtc.h"
|
||||
//#include "rtc.h"
|
||||
#include "spi.h"
|
||||
#include "uart.h"
|
||||
|
||||
@@ -66,7 +66,7 @@ int drv_close(const struct driver *driver)
|
||||
ret = pwm_close((const struct pwm *)(driver->device_driver));
|
||||
break;
|
||||
case DRIVER_TYPE_RTC:
|
||||
ret = rtc_close((const struct rtc *)(driver->device_driver));
|
||||
// ret = rtc_close((const struct rtc *)(driver->device_driver));
|
||||
break;
|
||||
case DRIVER_TYPE_SPI:
|
||||
ret = spi_close((const struct spi *)(driver->device_driver));
|
||||
|
Reference in New Issue
Block a user