Skip to content

Commit

Permalink
Fix use undefined uint8_t
Browse files Browse the repository at this point in the history
  • Loading branch information
DamMicSzm committed Jun 27, 2023
1 parent 0e062cd commit d5b52b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/python/chip/setup_payload/setup_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

from ctypes import CFUNCTYPE, c_char_p, c_int32, c_uint8, c_uint16, c_uint32, uint8_t
from ctypes import CFUNCTYPE, c_char_p, c_int32, c_uint8, c_uint16, c_uint32
from typing import Optional

from chip.exceptions import ChipStackError
Expand Down Expand Up @@ -117,7 +117,7 @@ def __InitNativeFunctions(self, chipLib):
[c_char_p, SetupPayload.AttributeVisitor, SetupPayload.VendorAttributeVisitor])
setter.Set("pychip_SetupPayload_PrintOnboardingCodes",
c_int32,
[c_uint32, c_uint16, c_uint16, c_uint16, uint8_t, uint8_t, uint8_t])
[c_uint32, c_uint16, c_uint16, c_uint16, c_uint8, c_uint8, c_uint8])

# Getters from parsed contents.
# Prefer using the methods below to access setup payload information once parse.
Expand Down

0 comments on commit d5b52b1

Please sign in to comment.