]> sigrok.org Git - libsigrok.git/commit
demo: data type nits in the device context (enum, unsigned int)
authorGerhard Sittig <redacted>
Sun, 13 May 2018 17:27:51 +0000 (19:27 +0200)
committerGerhard Sittig <redacted>
Sun, 13 May 2018 17:27:51 +0000 (19:27 +0200)
commit817e759ddc9a1c37b5cb044f8b2a99cb5465feb4
treeff73ed9cd85fc61012be9496c8bd96c7f3391f74
parentcdb134eb19e23528ec9c9dd89805087ea3edb9b6
demo: data type nits in the device context (enum, unsigned int)

Move the declaration of codes for pattern types before the declaration
of the context container such that the latter can reference the former.
Add 'int' to an unsigned variable that omitted the base type.
src/hardware/demo/protocol.h