Эх сурвалжийг харах

Rename onewire module files.

Vladimir N. Shilov 1 жил өмнө
parent
commit
970ba85839

+ 1 - 1
lib/lib.mk

@@ -7,7 +7,7 @@ USERSRC =  $(USERLIB)/st7735/st7735.c \
 	$(USERLIB)/st7735/liberation_mono_7x10.c \
 	$(USERLIB)/st7735/liberation_mono_7x10.c \
 	$(USERLIB)/st7735/font_12x16uk.c \
 	$(USERLIB)/st7735/font_12x16uk.c \
 	$(USERLIB)/buttons/buttons.c \
 	$(USERLIB)/buttons/buttons.c \
-	$(USERLIB)/onewire/testhal_onewire.c
+	$(USERLIB)/onewire/onewire.c
           
           
 # Required include directories
 # Required include directories
 USERINC =  $(USERLIB) \
 USERINC =  $(USERLIB) \

+ 0 - 0
lib/onewire/testhal_onewire.c → lib/onewire/onewire.c


+ 3 - 3
lib/onewire/testhal_onewire.h → lib/onewire/onewire.h

@@ -14,8 +14,8 @@
     limitations under the License.
     limitations under the License.
 */
 */
 
 
-#ifndef TESTHAL_ONEWIRE_H_
-#define TESTHAL_ONEWIRE_H_
+#ifndef _ONEWIRE_H_
+#define _ONEWIRE_H_
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {
@@ -27,4 +27,4 @@ extern "C" {
 }
 }
 #endif
 #endif
 
 
-#endif /* TESTHAL_ONEWIRE_H_ */
+#endif /* _ONEWIRE_H_ */

+ 1 - 1
main.c

@@ -24,7 +24,7 @@
 
 
 #include "main.h"
 #include "main.h"
 #include "st7735.h"
 #include "st7735.h"
-#include "testhal_onewire.h"
+#include "onewire.h"
 
 
 /*===========================================================================*/
 /*===========================================================================*/
 /* Generic code.                                                             */
 /* Generic code.                                                             */