Skip to content

Commit

Permalink
libosdp: Add support for Magenta and Cyan LED colors
Browse files Browse the repository at this point in the history
OSDP specification v2.2 specifies two new colors: Magenta and Cyan. This
commit adds those two colors to exported enum osdp_led_color_e in osdp.h.

Fixes: #141
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Nov 1, 2023
1 parent 0773728 commit bdc2fc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/osdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ enum osdp_led_color_e {
OSDP_LED_COLOR_GREEN,
OSDP_LED_COLOR_AMBER,
OSDP_LED_COLOR_BLUE,
OSDP_LED_COLOR_MAGENTA,
OSDP_LED_COLOR_CYAN,
OSDP_LED_COLOR_SENTINEL
};

Expand Down

0 comments on commit bdc2fc3

Please sign in to comment.