Skip to content

Commit d28c0cf

Browse files
maass-hamburgfabiobaltieri
authored andcommitted
mgmt: hawkbit: move HAWKBIT_JSON_URL
move HAWKBIT_JSON_URL out of the header. Signed-off-by: Fin Maaß <[email protected]>
1 parent 94bad9d commit d28c0cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/zephyr/mgmt/hawkbit/hawkbit.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* @ingroup third_party
1717
* @{
1818
*/
19-
#define HAWKBIT_JSON_URL "/default/controller/v1"
2019

2120
#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
2221
#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_

subsys/mgmt/hawkbit/hawkbit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ LOG_MODULE_REGISTER(hawkbit, CONFIG_HAWKBIT_LOG_LEVEL);
4545
#define HAWKBIT_RECV_TIMEOUT (300 * MSEC_PER_SEC)
4646
#define HAWKBIT_SET_SERVER_TIMEOUT K_MSEC(300)
4747

48+
#define HAWKBIT_JSON_URL "/default/controller/v1"
49+
4850
#define HTTP_HEADER_CONTENT_TYPE_JSON "application/json;charset=UTF-8"
4951

5052
#define SLOT1_LABEL slot1_partition

0 commit comments

Comments
 (0)