diff --git a/include/zephyr/mgmt/hawkbit/hawkbit.h b/include/zephyr/mgmt/hawkbit/hawkbit.h index 8af9aa84b15..6ef5952132e 100644 --- a/include/zephyr/mgmt/hawkbit/hawkbit.h +++ b/include/zephyr/mgmt/hawkbit/hawkbit.h @@ -16,7 +16,6 @@ * @ingroup third_party * @{ */ -#define HAWKBIT_JSON_URL "/default/controller/v1" #ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_ #define ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_ diff --git a/subsys/mgmt/hawkbit/hawkbit.c b/subsys/mgmt/hawkbit/hawkbit.c index df183ad834f..8e7bb8ea27c 100644 --- a/subsys/mgmt/hawkbit/hawkbit.c +++ b/subsys/mgmt/hawkbit/hawkbit.c @@ -45,6 +45,8 @@ LOG_MODULE_REGISTER(hawkbit, CONFIG_HAWKBIT_LOG_LEVEL); #define HAWKBIT_RECV_TIMEOUT (300 * MSEC_PER_SEC) #define HAWKBIT_SET_SERVER_TIMEOUT K_MSEC(300) +#define HAWKBIT_JSON_URL "/default/controller/v1" + #define HTTP_HEADER_CONTENT_TYPE_JSON "application/json;charset=UTF-8" #define SLOT1_LABEL slot1_partition