See the changelog for details, changes are relevant for developers only.

This commit is contained in:
Terje Io
2023-02-22 09:19:49 +01:00
parent b1f14577d7
commit 0c6233d709
9 changed files with 75 additions and 27 deletions

View File

@@ -7,7 +7,7 @@
Part of grblHAL
Copyright (c) 2020-2021 Terje Io
Copyright (c) 2020-2023 Terje Io
Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -213,4 +213,12 @@ typedef struct {
extern nvs_transfer_result_t i2c_nvs_transfer (nvs_transfer_t *i2c, bool read);
// I2C interface
typedef void (*keycode_callback_ptr)(const char c);
extern bool i2c_probe (uint_fast16_t i2c_address);
extern bool i2c_send (uint_fast16_t i2c_address, uint8_t *data, size_t size, bool block);
extern void i2c_get_keycode (uint_fast16_t i2c_address, keycode_callback_ptr callback);
#endif