libtock/temperature.c
static void temp_upcall(int temp,
                        __attribute__ ((unused)) int unused,
                        __attribute__ ((unused)) int unused1,
                        void* ud) {
  struct data* data = (struct data*) ud;
  data->temp  = temp;
  data->fired = true;
}
// Internal upcall  for faking synchronous reads
Internal upcall  for faking synchronous reads
Internal upcall for faking synchronous reads
static void temp_upcall(int temp,
                        __attribute__ ((unused)) int unused,
                        __attribute__ ((unused)) int unused1,
                        void* ud) {
  struct data* data = (struct data*) ud;
  data->temp  = temp;
  data->fired = true;
}
static void temp_upcall ( int temp , __attribute__ ( ( unused ) ) int unused , __attribute__ ( ( unused ) ) int unused1 , void * ud ) { struct data * data = ( struct data * ) ud ; data -> temp = temp ; data -> fired = true ; }
Internal upcall  for faking synchronous reads
Internal upcall for faking synchronous reads