Prechádzať zdrojové kódy

Changement declaration

Remy 4 rokov pred
rodič
commit
31c1249539
2 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 1 1
      Include/RTC.h
  2. 2 0
      Source/RTC.c

+ 1 - 1
Include/RTC.h

@@ -57,7 +57,7 @@ void writeRTC(uint8_t add, uint8_t *tab, int len){
 #define ANALOG_CALIBRATION	0X12
 #define SQW					0X13
 
-I2C_HandleTypeDef *I2C_RTC;
+
 
 /****Private fonction */
 void readRTC(uint8_t reg, uint8_t *tab, int len);

+ 2 - 0
Source/RTC.c

@@ -7,6 +7,8 @@
 
 #include "RTC.h"
 
+I2C_HandleTypeDef *I2C_RTC;
+
 /** Private Fonction*/
 void readRTC(uint8_t reg, uint8_t *tab, int len) {