Selaa lähdekoodia

Rename onewire module files.

Vladimir N. Shilov 1 vuosi sitten
vanhempi
commit
970ba85839
4 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 1 1
      lib/lib.mk
  2. 0 0
      lib/onewire/onewire.c
  3. 3 3
      lib/onewire/onewire.h
  4. 1 1
      main.c

+ 1 - 1
lib/lib.mk

@@ -7,7 +7,7 @@ USERSRC =  $(USERLIB)/st7735/st7735.c \
 	$(USERLIB)/st7735/liberation_mono_7x10.c \
 	$(USERLIB)/st7735/font_12x16uk.c \
 	$(USERLIB)/buttons/buttons.c \
-	$(USERLIB)/onewire/testhal_onewire.c
+	$(USERLIB)/onewire/onewire.c
           
 # Required include directories
 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.
 */
 
-#ifndef TESTHAL_ONEWIRE_H_
-#define TESTHAL_ONEWIRE_H_
+#ifndef _ONEWIRE_H_
+#define _ONEWIRE_H_
 
 #ifdef __cplusplus
 extern "C" {
@@ -27,4 +27,4 @@ extern "C" {
 }
 #endif
 
-#endif /* TESTHAL_ONEWIRE_H_ */
+#endif /* _ONEWIRE_H_ */

+ 1 - 1
main.c

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