Skip to content

Commit

Permalink
fixup! pkg/wakaama/objects: add IPSO on/off switch
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrolanzieri committed Jan 29, 2025
1 parent 77bac9c commit d3e83fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/wakaama/contrib/objects/on_off_switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "ztimer.h"
#include "ztimer/stopwatch.h"

#define ENABLE_DEBUG 1
#define ENABLE_DEBUG 0
#include "debug.h"

#define _USED_INSTANCES(_obj) (_obj.wakaama_object.instanceList)
Expand Down Expand Up @@ -377,7 +377,6 @@ static void _mark_resource_changed(uint16_t instance_id, uint16_t resource_id)
lwm2m_resource_value_changed(client_data->lwm2m_ctx, &uri);
}


lwm2m_object_t *lwm2m_object_on_off_switch_init(lwm2m_client_data_t *client_data)
{
assert(client_data);
Expand Down

0 comments on commit d3e83fc

Please sign in to comment.