diff options
| author | xengineering <me@xengineering.eu> | 2025-03-21 22:40:53 +0100 | 
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-03-21 22:40:53 +0100 | 
| commit | 7447a3875ea64b1fd45aaae850085b0cac5c8e50 (patch) | |
| tree | c8eb1bdab40b55a901b5f55f7992ee3d5002c8a7 /fw | |
| parent | 2ddf4682f4c11f4356b030b6474fb12fea55b8ea (diff) | |
| download | iot-contact-7447a3875ea64b1fd45aaae850085b0cac5c8e50.tar iot-contact-7447a3875ea64b1fd45aaae850085b0cac5c8e50.tar.zst iot-contact-7447a3875ea64b1fd45aaae850085b0cac5c8e50.zip  | |
fw: network: Rename from mac
The scope of the mac.{c,h} files was very small. Furthermore more
network related logic needs a place. Thus making the name more general
makes sense.
Diffstat (limited to 'fw')
| -rw-r--r-- | fw/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | fw/src/network.c (renamed from fw/src/mac.c) | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index 5a8d6c4..d1e1d90 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -22,7 +22,7 @@ target_sources(app  	PRIVATE  		"${CMAKE_CURRENT_SOURCE_DIR}/src/main.c"  		"${CMAKE_CURRENT_SOURCE_DIR}/src/syslog.c" -		"${CMAKE_CURRENT_SOURCE_DIR}/src/mac.c" +		"${CMAKE_CURRENT_SOURCE_DIR}/src/network.c"  		"${CMAKE_CURRENT_SOURCE_DIR}/src/http.c"  		"${CMAKE_CURRENT_SOURCE_DIR}/src/ws.c"  		"${CMAKE_CURRENT_SOURCE_DIR}/src/heart.c" diff --git a/fw/src/mac.c b/fw/src/network.c index e34fa0d..9ea4a40 100644 --- a/fw/src/mac.c +++ b/fw/src/network.c @@ -18,7 +18,7 @@  #include <zephyr/sys/util.h> -LOG_MODULE_REGISTER(mac); +LOG_MODULE_REGISTER(network);  /* will be read from an EEPROM chip in the future */  | 
