Skip to content

Commit

Permalink
Move PWM color control callbacks from type stubs to the esp32 demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple committed Nov 2, 2020
1 parent b4e37f2 commit f5bed31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions examples/wifi-echo/server/esp32/main/CHIPDeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ bool emberAfPluginDoorLockServerActivateDoorLockCallback(bool activate)
return false;
}

void emberAfPluginColorControlServerComputePwmFromXyCallback(uint8_t endpointId) {}

void emberAfPluginColorControlServerComputePwmFromHsvCallback(uint8_t endpointId) {}

void emberAfPluginColorControlServerComputePwmFromTempCallback(uint8_t endpointId) {}

} // extern "C"

} // namespace DeviceManager
Expand Down
4 changes: 0 additions & 4 deletions src/app/util/types_stub.h
Original file line number Diff line number Diff line change
Expand Up @@ -1957,10 +1957,6 @@ typedef struct
#define MILLISECOND_TICKS_PER_SECOND 1000
#define MILLISECOND_TICKS_PER_DECISECOND (MILLISECOND_TICKS_PER_SECOND / 10)

#define emberAfPluginColorControlServerComputePwmFromXyCallback(endpoint) (void) 0
#define emberAfPluginColorControlServerComputePwmFromHsvCallback(endpoint) (void) 0
#define emberAfPluginColorControlServerComputePwmFromTempCallback(endpoint) (void) 0

/**
* @brief Macro that copies the token value from non-volatile storage into a RAM
* location. This macro can only be used with tokens that are defined using
Expand Down

0 comments on commit f5bed31

Please sign in to comment.