Skip to content

Commit

Permalink
Merge pull request #18 from yene/master
Browse files Browse the repository at this point in the history
Fixing typos
  • Loading branch information
younghyunjo authored May 16, 2018
2 parents acffc01 + dfd34e6 commit ad129e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/accessories.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ static cJSON* _attr_characterisic_to_json(struct hap_attr_characteristic* c)
cJSON_AddStringToObject(root, "format", "bool");
break;
case FORMAT_UINT8:
cJSON_AddStringToObject(root, "format", "unit8");
cJSON_AddStringToObject(root, "format", "uint8");
break;
case FORMAT_UINT32:
cJSON_AddStringToObject(root, "format", "unit32");
cJSON_AddStringToObject(root, "format", "uint32");
break;
case FORMAT_UINT64:
cJSON_AddStringToObject(root, "format", "unit64");
cJSON_AddStringToObject(root, "format", "uint64");
break;
case FORMAT_INT:
cJSON_AddStringToObject(root, "format", "int");
Expand Down

0 comments on commit ad129e3

Please sign in to comment.