fix remove ununsed constants

This commit is contained in:
King Kévin 2017-02-08 15:37:09 +01:00
parent ddde6ca7f7
commit 0143e90939
1 changed files with 1 additions and 6 deletions

View File

@ -32,7 +32,7 @@
#include "global.h" // global utilities
#include "rtc_ds1307.h" // RTC header and definitions
/** @defgroup rtc_ds1307_i2c I2C peripheral used to communication with the DS1307 RTC IC
/** @defgroup rtc_ds1307_i2c I2C peripheral used to communicate with DS1307 RTC IC
* @{
*/
/** I2C peripheral */
@ -40,11 +40,6 @@
#define RTC_DS1307_I2C_ADDR 0x68 /**< DS1307 I2C address (fixed to 0b1101000) */
/** @} */
#if defined(RTC_DS1307_SQUARE_WAVE_TICKS)
volatile uint32_t rtc_ds1307_ticks = 0;
volatile bool rtc_ds1307_tick_flag = false;
#endif
void rtc_ds1307_setup(void)
{
// configure I2C peripheral