mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-02 21:48:16 +00:00
Add Channel_GetRoleForChannel. Add wal_strnicmp fn. add cmnd/<topic>/color MQTT feature - uses #RRGGBBCWww to set PWM channels - will work for any number of PWM
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#include "../new_pins.h"
|
||||
#include "../new_cfg.h"
|
||||
#include "../ota/ota.h"
|
||||
#include "../flash_config/flash_config.h"
|
||||
#ifdef WINDOWS
|
||||
|
||||
#elif PLATFORM_XR809
|
||||
@ -464,7 +465,7 @@ int hprintf128(http_request_t *request, const char *fmt, ...){
|
||||
uint8_t hexdigit( char hex )
|
||||
{
|
||||
return (hex <= '9') ? hex - '0' :
|
||||
toupper(hex) - 'A' + 10 ;
|
||||
toupper((unsigned char)hex) - 'A' + 10 ;
|
||||
}
|
||||
|
||||
uint8_t hexbyte( const char* hex )
|
||||
|
||||
Reference in New Issue
Block a user