Update sensor_extension.c make sensor_buffer zero length

old-payload
Alan Johnston 2 months ago committed by GitHub
parent 833c1bc105
commit 6d2ba9d808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,8 +20,9 @@ void sensor_setup() {
int sensor_loop(char *sensor_buffer) {
int sensors = 0;
// int sensors = 3; // set to the number of sensor readings adding.
// sensor_buffer[0] = 0; // make sure buffer is empty
sensor_buffer[0] = 0; // make sure buffer is empty
// sensors = 3; // Add 3 new sensor readings
// printf("Reading new sensors!\n");

Loading…
Cancel
Save

Powered by TurnKey Linux.