Use stdbool.h rather than our own bool definition.

This commit is contained in:
Martin Ling
2025-10-02 16:22:30 +01:00
parent 3d9e01d24f
commit 8cbcc8a4e9
7 changed files with 7 additions and 42 deletions

View File

@@ -24,17 +24,12 @@
#include <hackrf.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#ifndef bool
typedef int bool;
#define true 1
#define false 0
#endif
#define REGISTER_INVALID 32767
int parse_int(char* s, uint32_t* const value)