Function for returning the size of the string (only to be used for the getAddress() function)
| 268 | |
| 269 | //Function for returning the size of the string (only to be used for the getAddress() function) |
| 270 | uint16_t SPIFlash::sizeofStr(String &inputStr) { |
| 271 | uint16_t size; |
| 272 | size = (sizeof(char)*(inputStr.length()+1)); |
| 273 | size+=sizeof(inputStr.length()+1); |
| 274 | |
| 275 | return size; |
| 276 | } |
| 277 | |
| 278 | // Reads a byte of data from a specific location in a page. |
| 279 | // Takes two arguments - |
nothing calls this directly
no outgoing calls
no test coverage detected