Fix the data format used in apps/examples/adc

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4193 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-12-16 19:56:47 +00:00
parent 3e9d8da166
commit e9ddb37ecd
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ struct adc_msg_s
{ {
uint8_t am_channel; /* The 8-bit ADC Channel */ uint8_t am_channel; /* The 8-bit ADC Channel */
int32_t am_data; /* ADC convert result (4 bytes) */ int32_t am_data; /* ADC convert result (4 bytes) */
}__attribute__((__packed__)); } __attribute__((__packed__));
struct adc_fifo_s struct adc_fifo_s
{ {