Fixing Build errors

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2016-09-10 13:29:34 -07:00
committed by Noel Eck
parent e211f82f6c
commit af417d3ae1
5 changed files with 8 additions and 5 deletions

View File

@ -7,7 +7,7 @@
#include <unistd.h>
#include "grovemoisture.h"
void main(void)
int main()
{
grovemoisture_context dev = grovemoisture_init(14);
int val;

View File

@ -7,7 +7,7 @@
#include <unistd.h>
#include "tsl2561.h"
void main(void)
int main()
{
tsl2561_context dev = tsl2561_init(0, TSL2561_Address, GAIN_0X, INTEGRATION_TIME1_101MS);
float abc = 0;